DefaultSolver Class Reference

The Defalut Solver Class. More...

#include <DefaultSolver.h>

Inheritance diagram for DefaultSolver:

Inheritance graph
[legend]
Collaboration diagram for DefaultSolver:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void solve ()=0
 solve is a virtual function -- the actual solvers will implement their own solve method
 DefaultSolver ()
 default constructor.
virtual ~DefaultSolver ()=0
 default destructor.

Public Attributes

std::string osil
 osil holds the problem instance as a std::string
std::string osol
 osol holds the options for the solver
std::string osrl
 osrl holds the solution or result of the model
OSInstanceosinstance
 osinstance holds the problem instance in-memory as an OSInstance object
OSResultosresult
 osresult holds the solution or result of the model in-memory as an OSResult object
std::string insList
 osinsList holds the solution or result of the model
std::string sSolverName
 sSolverName is the name of the Coin solver used, e.g.

Detailed Description

The Defalut Solver Class.

Author:
Robert Fourer, Jun Ma, Kipp Martin,
Version:
1.0, 10/05/2005
Since:
OS1.0

Definition at line 35 of file DefaultSolver.h.


Constructor & Destructor Documentation

DefaultSolver::DefaultSolver (  ) 

default constructor.

Definition at line 24 of file DefaultSolver.cpp.

DefaultSolver::~DefaultSolver (  )  [pure virtual]

default destructor.

Definition at line 38 of file DefaultSolver.cpp.


Member Function Documentation

virtual void DefaultSolver::solve (  )  [pure virtual]

solve is a virtual function -- the actual solvers will implement their own solve method

Implemented in CoinSolver, IpoptSolver, KnitroSolver, and LindoSolver.

Referenced by main(), solve(), and OSMatlab::solve().


Member Data Documentation

std::string DefaultSolver::osil

osil holds the problem instance as a std::string

Definition at line 42 of file DefaultSolver.h.

Referenced by main(), solve(), LindoSolver::solve(), KnitroSolver::solve(), IpoptSolver::solve(), and CoinSolver::solve().

std::string DefaultSolver::osol

osol holds the options for the solver

Definition at line 45 of file DefaultSolver.h.

Referenced by main(), solve(), and OSMatlab::solve().

std::string DefaultSolver::osrl

osrl holds the solution or result of the model

Definition at line 49 of file DefaultSolver.h.

Referenced by IpoptSolver::finalize_solution(), LindoSolver::generateLindoModel(), CoinSolver::getCoinSolverType(), main(), LindoSolver::optimize(), CoinSolver::optimize(), LindoSolver::processConstraints(), LindoSolver::processNonlinearExpressions(), LindoSolver::processQuadraticTerms(), LindoSolver::processVariables(), CoinSolver::setCoinPackedMatrix(), solve(), LindoSolver::solve(), KnitroSolver::solve(), IpoptSolver::solve(), CoinSolver::solve(), and OSMatlab::solve().

OSInstance* DefaultSolver::osinstance

osinstance holds the problem instance in-memory as an OSInstance object

Definition at line 53 of file DefaultSolver.h.

Referenced by LindoSolver::dataEchoCheck(), KnitroSolver::dataEchoCheck(), IpoptSolver::dataEchoCheck(), CoinSolver::dataEchoCheck(), IpoptSolver::eval_f(), IpoptSolver::eval_g(), IpoptSolver::eval_grad_f(), IpoptSolver::eval_h(), IpoptSolver::eval_jac_g(), KnitroSolver::evalFC(), KnitroSolver::evalGA(), KnitroSolver::evalH(), IpoptSolver::finalize_solution(), LindoSolver::generateLindoModel(), IpoptSolver::get_bounds_info(), IpoptSolver::get_nlp_info(), IpoptSolver::get_scaling_parameters(), IpoptSolver::get_starting_point(), KnitroSolver::loadProblemIntoKnitro(), main(), LindoSolver::optimize(), CoinSolver::optimize(), LindoSolver::processConstraints(), LindoSolver::processNonlinearExpressions(), LindoSolver::processQuadraticTerms(), LindoSolver::processVariables(), CoinSolver::setCoinPackedMatrix(), solve(), LindoSolver::solve(), KnitroSolver::solve(), IpoptSolver::solve(), CoinSolver::solve(), and OSMatlab::solve().

OSResult* DefaultSolver::osresult

osresult holds the solution or result of the model in-memory as an OSResult object

Definition at line 57 of file DefaultSolver.h.

Referenced by IpoptSolver::finalize_solution(), LindoSolver::generateLindoModel(), CoinSolver::getCoinSolverType(), LindoSolver::optimize(), CoinSolver::optimize(), LindoSolver::processConstraints(), LindoSolver::processNonlinearExpressions(), LindoSolver::processQuadraticTerms(), LindoSolver::processVariables(), CoinSolver::setCoinPackedMatrix(), LindoSolver::solve(), KnitroSolver::solve(), IpoptSolver::solve(), and CoinSolver::solve().

std::string DefaultSolver::insList

osinsList holds the solution or result of the model

Definition at line 65 of file DefaultSolver.h.

Referenced by LindoSolver::processNonlinearExpressions().

std::string DefaultSolver::sSolverName

sSolverName is the name of the Coin solver used, e.g.

glpk, or clp

Definition at line 72 of file DefaultSolver.h.

Referenced by main(), CoinSolver::optimize(), solve(), CoinSolver::solve(), and OSMatlab::solve().


The documentation for this class was generated from the following files:
Generated on Thu May 15 22:15:33 2008 by  doxygen 1.4.7