MeshKit  1.0
LPSolveClass Class Reference

do the LPSolveClass to solve the linear programming problem More...

#include <LPSolveClass.hpp>

List of all members.

Public Member Functions

 LPSolveClass ()
 ~LPSolveClass ()
void SetupObj (vector< double > left, double const_value=0.0)
void SetupInEqu (vector< vector< double > > left, vector< double > right)
void SetupEqu (vector< vector< double > > left, vector< double > right)
void SetupConst (vector< int > right)
int Execute ()
void GetVariables (vector< int > &var)

Private Attributes

vector< double > coefficients
double obj_const
vector< vector< double > > A_inequ
vector< double > b_inequ
vector< vector< double > > A_equ
vector< double > b_equ
vector< int > b_const
vector< int > variables

Detailed Description

do the LPSolveClass to solve the linear programming problem

Definition at line 41 of file LPSolveClass.hpp.


Constructor & Destructor Documentation

Definition at line 9 of file LPSolveClass.cpp.

Definition at line 19 of file LPSolveClass.cpp.


Member Function Documentation

int Execute ( )

Definition at line 69 of file LPSolveClass.cpp.

void GetVariables ( vector< int > &  var)

Definition at line 271 of file LPSolveClass.cpp.

void SetupConst ( vector< int >  right)

Definition at line 61 of file LPSolveClass.cpp.

void SetupEqu ( vector< vector< double > >  left,
vector< double >  right 
)

Definition at line 34 of file LPSolveClass.cpp.

void SetupInEqu ( vector< vector< double > >  left,
vector< double >  right 
)

Definition at line 48 of file LPSolveClass.cpp.

void SetupObj ( vector< double >  left,
double  const_value = 0.0 
)

Definition at line 25 of file LPSolveClass.cpp.


Member Data Documentation

vector<vector<double> > A_equ [private]

Definition at line 71 of file LPSolveClass.hpp.

vector<vector<double> > A_inequ [private]

Definition at line 69 of file LPSolveClass.hpp.

vector<int> b_const [private]

Definition at line 73 of file LPSolveClass.hpp.

vector<double> b_equ [private]

Definition at line 72 of file LPSolveClass.hpp.

vector<double> b_inequ [private]

Definition at line 70 of file LPSolveClass.hpp.

vector<double> coefficients [private]

Definition at line 67 of file LPSolveClass.hpp.

double obj_const [private]

Definition at line 68 of file LPSolveClass.hpp.

vector<int> variables [private]

Definition at line 75 of file LPSolveClass.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines