experimental support for dynamic loading of gurobi; add MPSolver.CreateSolver() factory method for non C++ languages to check correctly installed linear solver backends and licenses when needed; port all non C++ examples
This commit is contained in:
@@ -27,8 +27,7 @@ public class LinearProgrammingExample {
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
// [START solver]
|
||||
MPSolver solver = new MPSolver(
|
||||
"LinearProgrammingExample", MPSolver.OptimizationProblemType.GLOP_LINEAR_PROGRAMMING);
|
||||
MPSolver solver = MPSolver.createSolver("LinearProgrammingExample", "glop");
|
||||
// [END solver]
|
||||
|
||||
// [START variables]
|
||||
|
||||
Reference in New Issue
Block a user