Couenne
0.2
|
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so that we can use it for example as the continuous solver in Cbc). More...
#include <CouenneMINLPInterface.hpp>
Public Member Functions | |
void | setObj (int index, expression *newObj) |
REMOVE — backward compatibility sets objective[index] at newObj. More... | |
void | setInitSol (const CouNumber *sol) |
sets the initial solution for the NLP solver More... | |
CouNumber | solve (CouNumber *solution) |
solves and returns the optimal objective function and the solution More... | |
CouenneProblem * | problem () const |
return pointer to Couenne problem More... | |
Ipopt::OptionsList * | options () const |
return pointer to options More... | |
Private Member Functions | |
virtual std::string | appName () |
Virtual callback for application specific stuff. More... | |
Private Attributes | |
CouenneProblem * | problem_ |
Symbolic representation of the problem. More... | |
Ipopt::OptionsList * | options_ |
Options. More... | |
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so that we can use it for example as the continuous solver in Cbc).
Definition at line 59 of file CouenneMINLPInterface.hpp.
|
inline |
REMOVE — backward compatibility sets objective[index] at newObj.
Definition at line 65 of file CouenneMINLPInterface.hpp.
void Couenne::CouenneMINLPInterface::setInitSol | ( | const CouNumber * | sol | ) |
sets the initial solution for the NLP solver
solves and returns the optimal objective function and the solution
|
inline |
return pointer to Couenne problem
Definition at line 75 of file CouenneMINLPInterface.hpp.
References problem_.
|
inline |
return pointer to options
Definition at line 79 of file CouenneMINLPInterface.hpp.
References options_.
|
inlineprivatevirtual |
Virtual callback for application specific stuff.
Definition at line 91 of file CouenneMINLPInterface.hpp.
|
private |
Symbolic representation of the problem.
Definition at line 85 of file CouenneMINLPInterface.hpp.
Referenced by problem().
|
private |