Non-convex cost function, which knows how to calculate its convex approximation (convexify() method) More...
#include <modeling.hpp>
Public Member Functions | |
virtual double | value (const vector< double > &)=0 |
Evaluate at solution vector x. | |
virtual ConvexObjectivePtr | convex (const vector< double > &x, Model *model)=0 |
Convexify at solution vector x. | |
string | name () |
void | setName (const string &name) |
Cost (const string &name) | |
Protected Attributes | |
string | name_ |
Non-convex cost function, which knows how to calculate its convex approximation (convexify() method)