Commit 442a1508 authored by Max Lyon's avatar Max Lyon
Browse files

add missing StopWatch

parent 08c85697
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
#include "GurobiHelper.hh" #include "GurobiHelper.hh"
#endif//COMISO_QT_AVAILABLE #endif//COMISO_QT_AVAILABLE
#include <CoMISo/Utils/CoMISoError.hh> #include <CoMISo/Utils/CoMISoError.hh>
#include <CoMISo/Utils/StopWatch.hh>
#include <Base/Debug/DebTime.hh> #include <Base/Debug/DebTime.hh>
...@@ -515,6 +516,8 @@ solve(NProblemInterface* _problem, ...@@ -515,6 +516,8 @@ solve(NProblemInterface* _problem,
// //
// return solve(_problem, all_constraints, _discrete_constraints, _time_limit); // return solve(_problem, all_constraints, _discrete_constraints, _time_limit);
StopWatch sw; sw.start();
bool feasible_point_found = false; bool feasible_point_found = false;
int cur_pass = 0; int cur_pass = 0;
double acceptable_tolerance = 0.01; // hack: read out from ipopt!!! double acceptable_tolerance = 0.01; // hack: read out from ipopt!!!
......
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