Commit d1460e82 authored by Martin Marinov's avatar Martin Marinov
Browse files

Merged the differencial greedy solver prototype implementaiton.

[git-p4: depot-paths = "//ReForm/ReForm/main/CoMISo/": change = 11517]
parent da4879c7
......@@ -339,6 +339,11 @@ IPOPTSolver::IPOPTSolver()
IPOPTSolver::~IPOPTSolver()
{ delete impl_; }
double IPOPTSolver::energy()
{
return impl_->app_->Statistics()->FinalObjective();
}
//-----------------------------------------------------------------------------
......
......@@ -76,6 +76,7 @@ public:
// app().Options()->SetStringValue("derivative_test", "second-order");
//Ipopt::IpoptApplication& app() {return (*app_); }
double energy();
protected:
double* P(std::vector<double>& _v)
......
Markdown is supported
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