remove name from MPSolver.CreateSolver API; simplify underlying code
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
namespace operations_research {
|
||||
void IntegerProgrammingExample() {
|
||||
// [START solver]
|
||||
// Create the mip solver with the CBC backend.
|
||||
// Create the mip solver with the SCIP backend.
|
||||
MPSolver solver("integer_programming_example",
|
||||
MPSolver::CBC_MIXED_INTEGER_PROGRAMMING);
|
||||
MPSolver::SCIP_MIXED_INTEGER_PROGRAMMING);
|
||||
// [END solver]
|
||||
|
||||
// [START variables]
|
||||
|
||||
Reference in New Issue
Block a user