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. | |
void | setInitSol (const CouNumber *sol) |
sets the initial solution for the NLP solver | |
CouNumber | solve (CouNumber *solution) |
solves and returns the optimal objective function and the solution | |
CouenneProblem * | problem () const |
return pointer to Couenne problem | |
Ipopt::OptionsList * | options () const |
return pointer to options | |
Private Member Functions | |
virtual std::string | appName () |
Virtual callback for application specific stuff. | |
Private Attributes | |
CouenneProblem * | problem_ |
Symbolic representation of the problem. | |
Ipopt::OptionsList * | options_ |
Options. |
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.
void Couenne::CouenneMINLPInterface::setObj | ( | int | index, | |
expression * | newObj | |||
) | [inline] |
REMOVE --- backward compatibility sets objective[index] at newObj.
Definition at line 65 of file CouenneMINLPInterface.hpp.
void CouenneMINLPInterface::setInitSol | ( | const CouNumber * | sol | ) |
sets the initial solution for the NLP solver
Definition at line 17 of file CouenneMINLPInterface.cpp.
solves and returns the optimal objective function and the solution
Definition at line 23 of file CouenneMINLPInterface.cpp.
CouenneProblem* Couenne::CouenneMINLPInterface::problem | ( | ) | const [inline] |
return pointer to Couenne problem
Definition at line 75 of file CouenneMINLPInterface.hpp.
Ipopt::OptionsList* Couenne::CouenneMINLPInterface::options | ( | ) | const [inline] |
return pointer to options
Definition at line 79 of file CouenneMINLPInterface.hpp.
virtual std::string Couenne::CouenneMINLPInterface::appName | ( | ) | [inline, private, virtual] |
Virtual callback for application specific stuff.
Definition at line 91 of file CouenneMINLPInterface.hpp.
Symbolic representation of the problem.
Definition at line 85 of file CouenneMINLPInterface.hpp.
Ipopt::OptionsList* Couenne::CouenneMINLPInterface::options_ [private] |
Options.
Definition at line 88 of file CouenneMINLPInterface.hpp.