![]() |
CYCLUS
|
A factory class that, given a configuration, returns a Coin::OsiSolverInterface for a solver.
Definition at line 41 of file solver_factory.h.
#include <solver_factory.h>
Public Member Functions | |
| OsiSolverInterface * | get () |
| std::string | solver_t () |
| const std::string | solver_t () const |
| void | solver_t (std::string t) |
| SolverFactory () | |
| SolverFactory (std::string t) | |
| SolverFactory (std::string t, double tmax) | |
| cyclus::SolverFactory::SolverFactory | ( | ) |
currently supported solver types are 'clp' and 'cbc'
| t | the solver type |
| tmax | the maximum solution time |
Definition at line 73 of file solver_factory.cc.
|
explicit |
Definition at line 74 of file solver_factory.cc.
| cyclus::SolverFactory::SolverFactory | ( | std::string | t, |
| double | tmax ) |
Definition at line 76 of file solver_factory.cc.
| OsiSolverInterface * cyclus::SolverFactory::get | ( | ) |
get the configured solver
Definition at line 78 of file solver_factory.cc.
|
inline |
Definition at line 53 of file solver_factory.h.
|
inline |
Definition at line 52 of file solver_factory.h.
|
inline |
get/set the solver type
Definition at line 51 of file solver_factory.h.