Commit 8b48ce38 authored by David Bommes's avatar David Bommes
Browse files

added solve function which does not require integers

git-svn-id: 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent ee0ea98f
......@@ -59,6 +59,14 @@ public:
const double _time_limit = 60,
const bool _silent = false); // time limit in seconds
// same as above but without discrete constraints (for convenience)
inline bool solve(NProblemInterface* _problem, // problem instance
std::vector<NConstraintInterface*>& _constraints, // linear constraints
const double _time_limit = 60,
const bool _silent = false) // time limit in seconds
{ std::vector<PairIndexVtype> dc; return solve(_problem, _constraints, dc, _time_limit, _silent);}
// void set_problem_output_path ( const std::string &_problem_output_path);
// void set_problem_env_output_path( const std::string &_problem_env_output_path);
// void set_solution_input_path ( const std::string &_solution_input_path);
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