DM826 - Modeling and Solving Constrained Optimization Problems

Direct Links to GECODE Documents

  • Gecode

    In Linux:

    • download using the svn command given in the download page.
    • Enter the directory. Run ./configure and make.
      The make command will take a while. If it runs without errors then you are ready to work.
    • Eventually you encounter problems due to missing qt libraries. You should install them in your system. In ubuntu you can do this via Synaptic or apt-get. The packages you may need are libqtcore4 and qt4-qmake.
    • Enter in the directory examples/ and start working with them. To compile them read section 2.3.3 that you find in the manual of Gecode linked below or use this Makefile

    In MacOsX:

    • download the .dmg package. Install it. There will be a /Library/Framework/ installed in your system. You will also see a directory C++ examples that you should use to start working with. Compile the examples are described in the Manual linked below in section 2.3.2.
  • gecode-python: download from repository linked at gecode.org via bazar.
    Read INSTALL file.
    If your gecode is not installed in the default directory: export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${GECODE_HOME}
    The installation via
    python setup.py –prefix ~
    should work. If something goes wrong contact the teacher.
    Documentation in README.

Date: 2012-02-08 16:28:42 CET

Author: Marco Chiarandini

Org version 7.6 with Emacs version 23

Validate XHTML 1.0