the KnitroSolver class solves problems using Knitro.
More...
#include <OSKnitroSolver.h>
|
| KnitroSolver () |
| the KnitroSolver class constructor More...
|
|
| ~KnitroSolver () |
| the KnitroSolver class constructor More...
|
|
virtual void | buildSolverInstance () |
| buildSolverInstance is a virtual function – the actual solvers will implement their own buildSolverInstance method – the solver instance is the instance the individual solver sees in its API More...
|
|
virtual void | setSolverOptions () |
| The implementation of the virtual functions. More...
|
|
virtual void | solve () |
| solve results in an instance being read into the Knitro data structrues and optimized More...
|
|
void | dataEchoCheck () |
| use this for debugging, print out the instance that the solver thinks it has and compare this with the OSiL file More...
|
|
virtual void | solve ()=0 |
| solve is a virtual function – the actual solvers will implement their own solve method More...
|
|
virtual void | buildSolverInstance ()=0 |
| buildSolverInstance is a virtual function – the actual solvers will implement their own buildSolverInstance method – the solver instance is the instance the individual solver sees in its API More...
|
|
virtual void | setSolverOptions ()=0 |
| setSolverOptions is a virtual function – the actual solvers will implement their own setSolverOptions method – the solver options are the options the individual solver sees in its API More...
|
|
| DefaultSolver () |
| default constructor. More...
|
|
virtual | ~DefaultSolver ()=0 |
| default destructor. More...
|
|
|
The compiler automatically generates the following three methods.
Since the default compiler implementation is generally not what you want (for all but the most simple classes), we usually put the declarations of these methods in the private section and never implement them. This prevents the compiler from implementing an incorrect "default" behavior without us knowing. (See Scott Meyers book, "Effective C++")
|
std::string | knitroErrorMsg |
|
| KnitroSolver (const KnitroSolver &) |
|
KnitroSolver & | operator= (const KnitroSolver &) |
|
the KnitroSolver class solves problems using Knitro.
- Author
- Robert Fourer, Jun Ma, Kipp Martin
- Version
- 1.0, 03/14/2004
- Since
- OS 1.0
Definition at line 144 of file OSKnitroSolver.h.
◆ KnitroSolver() [1/2]
KnitroSolver::KnitroSolver |
( |
| ) |
|
◆ ~KnitroSolver()
KnitroSolver::~KnitroSolver |
( |
| ) |
|
◆ KnitroSolver() [2/2]
◆ buildSolverInstance()
void KnitroSolver::buildSolverInstance |
( |
| ) |
|
|
virtual |
buildSolverInstance is a virtual function – the actual solvers will implement their own buildSolverInstance method – the solver instance is the instance the individual solver sees in its API
Implements DefaultSolver.
Definition at line 580 of file OSKnitroSolver.cpp.
◆ setSolverOptions()
void KnitroSolver::setSolverOptions |
( |
| ) |
|
|
virtual |
The implementation of the virtual functions.
- Returns
- void.
Implements DefaultSolver.
◆ solve()
void KnitroSolver::solve |
( |
| ) |
|
|
virtual |
◆ dataEchoCheck()
void KnitroSolver::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 876 of file OSKnitroSolver.cpp.
◆ operator=()
◆ osrlwriter
◆ knitroErrorMsg
std::string KnitroSolver::knitroErrorMsg |
|
private |
The documentation for this class was generated from the following files: