scip: Use one thread in samples
Tempory fix until https://github.com/scipopt/scip/issues/5 is fixed...
This commit is contained in:
@@ -71,7 +71,7 @@ void IntegerProgrammingExample() {
|
||||
// [END objective]
|
||||
|
||||
// [START solve]
|
||||
solver->SetNumThreads(8);
|
||||
solver->SetNumThreads(1);
|
||||
const MPSolver::ResultStatus result_status = solver->Solve();
|
||||
// Check that the problem has an optimal solution.
|
||||
if (result_status != MPSolver::OPTIMAL) {
|
||||
|
||||
Reference in New Issue
Block a user