Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
limbo::solvers::LPSolveLinearApi< T, V > Class Template Reference

LPSolve API with limbo::solvers::LinearModel. More...

#include <LPSolveApi.h>

Public Types

typedef LinearModel< T, V > model_type
 linear model type for the problem
 
typedef
model_type::coefficient_value_type 
coefficient_value_type
 
typedef
model_type::variable_value_type 
variable_value_type
 
typedef model_type::variable_type variable_type
 
typedef model_type::constraint_type constraint_type
 
typedef model_type::expression_type expression_type
 
typedef model_type::term_type term_type
 
typedef model_type::property_type property_type
 
typedef LPSolveParameters parameter_type
 

Public Member Functions

 LPSolveLinearApi (model_type *model)
 constructor More...
 
 ~LPSolveLinearApi ()
 destructor
 
SolverProperty operator() (parameter_type *param=NULL)
 API to run the algorithm. More...
 

Protected Member Functions

 LPSolveLinearApi (LPSolveLinearApi const &rhs)
 copy constructor, forbidden More...
 
LPSolveLinearApioperator= (LPSolveLinearApi const &rhs)
 assignment, forbidden More...
 

Protected Attributes

model_typem_model
 model for the problem
 
lprec * m_lpModel
 model for LPSolve
 

Detailed Description

template<typename T, typename V>
class limbo::solvers::LPSolveLinearApi< T, V >

LPSolve API with limbo::solvers::LinearModel.

Template Parameters
Tcoefficient type
Vvariable type

Definition at line 109 of file LPSolveApi.h.

Constructor & Destructor Documentation

template<typename T , typename V >
limbo::solvers::LPSolveLinearApi< T, V >::LPSolveLinearApi ( model_type model)
inline

constructor

Parameters
modelpointer to the model of problem

Definition at line 127 of file LPSolveApi.h.

template<typename T , typename V >
limbo::solvers::LPSolveLinearApi< T, V >::LPSolveLinearApi ( LPSolveLinearApi< T, V > const &  rhs)
protected

copy constructor, forbidden

Parameters
rhsright hand side

Member Function Documentation

template<typename T , typename V >
SolverProperty limbo::solvers::LPSolveLinearApi< T, V >::operator() ( parameter_type param = NULL)
inline

API to run the algorithm.

Parameters
paramset additional parameters, use default if NULL

Definition at line 139 of file LPSolveApi.h.

template<typename T , typename V >
LPSolveLinearApi& limbo::solvers::LPSolveLinearApi< T, V >::operator= ( LPSolveLinearApi< T, V > const &  rhs)
protected

assignment, forbidden

Parameters
rhsright hand side

The documentation for this class was generated from the following file: