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) |
buildSolverInstance is a virtual function -- the actual solvers will implement their own solve method -- the solver instance is the instance the individual solver sees in its api | |
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 | |
SmartPtr< TNLP > | nlp |
SmartPtr< IpoptApplication > | app |
OSiLReader * | m_osilreader |
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed | |
Private Attributes | |
OSrLWriter * | osrlwriter |
std::string | ipoptErrorMsg |
The IpoptSolver class solves problems using Ipopt.
Definition at line 190 of file OSIpoptSolver.h.
IpoptSolver::IpoptSolver | ( | ) |
the IpoptSolver class constructor
IpoptSolver::~IpoptSolver | ( | ) |
the IpoptSolver class destructor
virtual void IpoptSolver::solve | ( | ) | throw (ErrorClass) [virtual] |
solve results in an instance being read into the Ipopt data structrues and optimized
Implements DefaultSolver.
virtual void IpoptSolver::buildSolverInstance | ( | ) | throw (ErrorClass) [virtual] |
buildSolverInstance is a virtual function -- the actual solvers will implement their own solve method -- the solver instance is the instance the individual solver sees in its api
Implements DefaultSolver.
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 201 of file OSIpoptSolver.h.
Definition at line 203 of file OSIpoptSolver.h.
m_osilreader is an OSiLReader object used to create an osinstance from an osil string if needed
Definition at line 227 of file OSIpoptSolver.h.
OSrLWriter* IpoptSolver::osrlwriter [private] |
Definition at line 231 of file OSIpoptSolver.h.
std::string IpoptSolver::ipoptErrorMsg [private] |
Definition at line 249 of file OSIpoptSolver.h.