abdelkimo / or-tools

Automatically exported from code.google.com/p/or-tools
1 stars 0 forks source link

Missing types in MPSolver.OptimizationProblemType #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In rev3750 (Java binaries,  OS X),   class 
com.google.ortools.linearsolver.MPSolver constructor takes two arguments. The 
second argument is used to specify MPSolver.OptimizationProblemType as one of 
the following three enum types:  
    CBC_MIXED_INTEGER_PROGRAMMING
    CLP_LINEAR_PROGRAMMING
    GLOP_LINEAR_PROGRAMMING.

The other types are missing, and the corresponding solvers cannot be 
instantiated.  Following are examples of missing types:
     GLPK_LINEAR_PROGRAMMING
     SULUM_LINEAR_PROGRAMMING
    GUROBI_LINEAR_PROGRAMMING
    CPLEX_LINEAR_PROGRAMMING
    SCIP_MIXED_INTEGER_PROGRAMMING
    GLPK_MIXED_INTEGER_PROGRAMMING
    SULUM_MIXED_INTEGER_PROGRAMMING
    GUROBI_MIXED_INTEGER_PROGRAMMING
    CPLEX_MIXED_INTEGER_PROGRAMMING

Original issue reported on code.google.com by yunjun...@gmail.com on 5 Nov 2014 at 5:54

GoogleCodeExporter commented 9 years ago
Hello, 

Unfortunately, for licensing issues, we cannot distribute binaries with these 
solvers embedded.
You need to recompile from sources, after adding the directory path in 
Makefile.local.

Original comment by laurent....@gmail.com on 5 Nov 2014 at 6:42