User Tools

Site Tools


tutorial:cola_dietcola

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:cola_dietcola [2014/12/02 18:29]
aykutbulut
tutorial:cola_dietcola [1998/12/03 12:11] (current)
Line 5: Line 5:
 Cola inherits OsiClpSolverInterface class of Coin-OR Osi project. It uses Clp to solve linear optimization problems. Cola inherits OsiClpSolverInterface class of Coin-OR Osi project. It uses Clp to solve linear optimization problems.
 ==== How to use cola ==== ==== How to use cola ====
-It is pretty straightforward. Just run 'cola input.mps'. Cola do not except any options for now. It solves a conic mps file given as an argument.+It is pretty straightforward. Just run 'cola input.mps'. Cola do not accept any options for now. It solves a conic mps file given as an argument.
 ===== DietCOLA ===== ===== DietCOLA =====
-DietCOLA (Discrete COLA) uses branch and bound to solve second order cone optimization problems. DietCOLA is available in polyps (command dietcola). Source code of DietCOLA is available on [[https://github.com/aykutbulut/DietCOLA|github]] +DietCOLA (Discrete COLA) uses branch and bound to solve second order cone optimization problems. DietCOLA is available in polyps (command dietcola). Source code of DietCOLA is available on [[https://github.com/aykutbulut/DietCOLA|github]].
 ==== Installation ==== ==== Installation ====
-DietCOLA depends on COLA and ALPS. Once COLA and ALPS are installed and their .pc file is in your PKG_CONFIG_PATH, you can install DietCOLA by running "configure" and "make install". DietCOLA uses pkg-config to locate its dependencies.+DietCOLA depends on COLA and ALPS. Once COLA and ALPS are installed and their .pc file is in your PKG_CONFIG_PATH, you can install DietCOLA by running "configure" and "make install". DietCOLA uses pkg-config to locate its dependencies. COLA and DietCOLA are both installed in polyps (command cola and dietcola).
 ==== Using DietCOLA ==== ==== Using DietCOLA ====
 DietCOLA accepts inputs in extended mps format. See [[http://docs.mosek.com/7.0/capi/The_MPS_file_format.html|conic mps format]] for how to include cones in your mps files. Once DietCOLA is installed you can call the solver by "dietcola input.mps". For now DietCOLA does not accept any options. DietCOLA accepts inputs in extended mps format. See [[http://docs.mosek.com/7.0/capi/The_MPS_file_format.html|conic mps format]] for how to include cones in your mps files. Once DietCOLA is installed you can call the solver by "dietcola input.mps". For now DietCOLA does not accept any options.
- 
 You can also use DietCOLA as a library. For this you should create an instance of DcModel class. See DcMain.cpp for how to do this. You can also use DietCOLA as a library. For this you should create an instance of DcModel class. See DcMain.cpp for how to do this.
- +===== Examples ===== 
-DietCOLA is available on [[https://github.com/aykutbulut/DietCOLA|github]].+To run cola in polyps on CBLIB problems you can use, 
 +<code bash> cola /home/software/share/cblib2014/instances/mosek_mps/estein4_A.mps </code> 
 +to run DietCOLA you can use the following command; 
 +<code bash> dietcola /home/software/share/cblib2014/instances/mosek_mps/estein4_A.mps </code> 
 +COLA and DietCOLA can also solve LP and MILP problems. When a given mps file does not have cones, COLA just reduces to CLP and DietCOLA does a branch and bound search solving LP problems at each node. You can check this with; 
 +<code bash> cola /home/software/share/miplib3/10teams.mps </code> 
 +<code bash> dietcola /home/software/share/miplib3/enigma.mps </code> 
 +COLA solves the LP relaxation of the problem (problem 10teams includes discrete variables).
tutorial/cola_dietcola.1417562990.txt.gz · Last modified: 1998/12/03 12:11 (external edit)