|
Membres publics |
|
| SolverAPI (const std::string &_fLP) |
| void | Init (const std::string &_fLP="./tmp.solver.lp", const std::string &_path="") |
| void | SetAPI (API _solver) |
|
API | GetAPI () const |
| const char * | GetfLP () |
|
void | SetfLP (const std::string &_flp) |
| bool | IsSolved () const |
| bool | IsOptimal () const |
|
void | SetMIP (bool isMip) |
| void | Infos (std::string &_operation, std::string &_information) |
|
std::list< float > & | OutNumVarValues () |
|
std::list< std::string > & | GetNumVarNoms () |
|
std::list< float > & | OutConstraintValues () |
|
std::list< std::string > & | GetConstraintNoms () |
| float | Solve () |
| void | Options (const std::string &_options) |
| void | RemoveOptions () |
| bool | glpk_GetObj (std::string &_s, float &objval) |
| bool | cplx_GetObj (std::string &_s, float &objval) |
Membres protégés |
| int | SystemFork (const char *str) |
| std::string | AvoidSpaces (std::string &s) |
| void | Tokenize (const std::string &str, std::list< std::string > &tokens, const std::string &delimiters) |
Attributs Protégés |
|
unsigned | solver |
|
std::string | fLP |
|
std::string | path |
| | nom du fichier LP utilisé pour stocker le programme courant
|
|
std::list< std::string > | option |
| | chemin du solveur (si non accessible directement dans le PATH du systeme)
|
|
bool | isSolved |
| | ! liste des options passées en parametres
|
|
bool | isOptimal |
|
bool | isMIP |
|
std::list< std::string > | contraintesNOM |
|
std::list< std::string > | variablesNOM |
| | sauvegarde des noms des contraintes
|
|
std::list< float > | contraintesVAL |
| | sauvegarde des noms des variables
|
|
std::list< float > | variablesVAL |
| | sauvegarde des valeurs des contraintes
|
|
solverVAR_NomVal | objective |
| | saveugarde des valeurs des variables
|
|
std::string | typeRetour |
| | informations sur la fonction objectif (cf classe plus haut)
|
|
std::string | typeOperation |