Commit 8576c765 authored by David Bommes's avatar David Bommes
Browse files

use timelimit parameter

git-svn-id: 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 12332983
......@@ -132,7 +132,7 @@ void solve_impl(
NProblemInterface* _problem,
const std::vector<NConstraintInterface*>& _constraints,
const std::vector<PairIndexVtype>& _discrete_constraints,
const double /*_time_limit*/
const double _time_limit
......@@ -243,9 +243,9 @@ void solve_impl(
// Pass the OsiSolver with the problem to be solved to CbcModel
CbcModel model(si);
model.solver()->setHintParam(OsiDoReducePrint, true, OsiHintTry);
// model.setMaximumSolutions(4);
// TRACE_CBT("CbcModel::getMaximumSolutions()", model.getMaximumSolutions());
// TRACE_CBT("CbcModel::getMaximumSeconds()", model.getMaximumSeconds());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment