The IpoptSolver class solves problems using Ipopt. More...
#include <OSIpoptSolver.h>
Public Member Functions | |
IpoptSolver () | |
the IpoptSolver class constructor | |
~IpoptSolver () | |
the IpoptSolver class destructor | |
virtual void | solve () throw (ErrorClass) |
solve results in an instance being read into the Ipopt data structrues and optimized | |
virtual void | buildSolverInstance () throw (ErrorClass) |
The implementation of the virtual functions. | |
virtual void | setSolverOptions () throw (ErrorClass) |
The implementation of the virtual functions. | |
void | dataEchoCheck () |
use this for debugging, print out the instance that the solver thinks it has and compare this with the OSiL file | |
Public Attributes | |
Ipopt::SmartPtr< Ipopt::TNLP > | nlp |
Ipopt::SmartPtr < Ipopt::IpoptApplication > | app |
OSiLReader * | m_osilreader |
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed | |
OSoLReader * | m_osolreader |
m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed | |
Private Attributes | |
OSrLWriter * | osrlwriter |
std::string * | ipoptErrorMsg |
The IpoptSolver class solves problems using Ipopt.
Definition at line 170 of file OSIpoptSolver.h.
IpoptSolver::IpoptSolver | ( | ) |
the IpoptSolver class constructor
Definition at line 33 of file OSIpoptSolver.cpp.
IpoptSolver::~IpoptSolver | ( | ) |
the IpoptSolver class destructor
Definition at line 42 of file OSIpoptSolver.cpp.
void IpoptSolver::solve | ( | ) | throw (ErrorClass) [virtual] |
solve results in an instance being read into the Ipopt data structrues and optimized
Implements DefaultSolver.
Definition at line 910 of file OSIpoptSolver.cpp.
void IpoptSolver::buildSolverInstance | ( | ) | throw (ErrorClass) [virtual] |
The implementation of the virtual functions.
Implements DefaultSolver.
Definition at line 879 of file OSIpoptSolver.cpp.
void IpoptSolver::setSolverOptions | ( | ) | throw (ErrorClass) [virtual] |
The implementation of the virtual functions.
Implements DefaultSolver.
Definition at line 803 of file OSIpoptSolver.cpp.
void IpoptSolver::dataEchoCheck | ( | ) |
use this for debugging, print out the instance that the solver thinks it has and compare this with the OSiL file
Definition at line 959 of file OSIpoptSolver.cpp.
Ipopt::SmartPtr<Ipopt::TNLP> IpoptSolver::nlp |
Definition at line 182 of file OSIpoptSolver.h.
Ipopt::SmartPtr<Ipopt::IpoptApplication> IpoptSolver::app |
Definition at line 184 of file OSIpoptSolver.h.
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed
Definition at line 214 of file OSIpoptSolver.h.
m_osolreader is an OSoLReader object used to create an osoption from an osol string if needed
Definition at line 220 of file OSIpoptSolver.h.
OSrLWriter* IpoptSolver::osrlwriter [private] |
Definition at line 224 of file OSIpoptSolver.h.
std::string* IpoptSolver::ipoptErrorMsg [private] |
Definition at line 242 of file OSIpoptSolver.h.