![]()  | 
  
    CYCLUS
    
   | 
 
The ProgSolver provides the implementation for a mathematical programming solution to a resource exchange graph.
Definition at line 19 of file prog_solver.h.
#include <prog_solver.h>
  
Public Member Functions | |
| virtual | ~ProgSolver () | 
| ProgSolver (std::string solver_t) | |
| ProgSolver (std::string solver_t, double tmax) | |
| ProgSolver (std::string solver_t, bool exclusive_orders) | |
| ProgSolver (std::string solver_t, double tmax, bool exclusive_orders, bool verbose, bool mps) | |
  Public Member Functions inherited from cyclus::ExchangeSolver | |
| double | ArcCost (const Arc &a) | 
| ExchangeSolver (bool exclusive_orders=kDefaultExclusive) | |
| ExchangeGraph * | graph () const | 
| void | graph (ExchangeGraph *graph) | 
| double | Solve (ExchangeGraph *graph=NULL) | 
| void | verbose () | 
| virtual | ~ExchangeSolver () | 
| void | sim_ctx (Context *c) | 
| Context * | sim_ctx () | 
| double | PseudoCost () | 
| double | PseudoCost (double cost_factor) | 
| double | PseudoCostByCap (double cost_factor) | 
| double | PseudoCostByPref (double cost_factor) | 
Static Public Attributes | |
| static const int | kDefaultTimeout = 5 * 60 | 
  Static Public Attributes inherited from cyclus::ExchangeSolver | |
| static const bool | kDefaultExclusive = true | 
Protected Member Functions | |
| virtual double | SolveGraph () | 
Additional Inherited Members | |
  Static Public Member Functions inherited from cyclus::ExchangeSolver | |
| static double | Cost (const Arc &a, bool exclusive_orders=kDefaultExclusive) | 
  Protected Attributes inherited from cyclus::ExchangeSolver | |
| bool | exclusive_orders_ | 
| ExchangeGraph * | graph_ | 
| Context * | sim_ctx_ | 
| bool | verbose_ | 
| cyclus::ProgSolver::ProgSolver | ( | std::string | solver_t | ) | 
| solver_t | the solver type, either "cbc" or "clp" | 
| tmax | the maximum solution time, default kDefaultTimeout | 
| exclusive_orders | whether all orders must be exclusive or not, default false | 
| verbose | print out a lot to stdout, default false | 
| mps | dump mps files for every solve, default false | 
Definition at line 18 of file prog_solver.cc.
| cyclus::ProgSolver::ProgSolver | ( | std::string | solver_t, | 
| double | tmax ) | 
Definition at line 32 of file prog_solver.cc.
| cyclus::ProgSolver::ProgSolver | ( | std::string | solver_t, | 
| bool | exclusive_orders ) | 
Definition at line 25 of file prog_solver.cc.
| cyclus::ProgSolver::ProgSolver | ( | std::string | solver_t, | 
| double | tmax, | ||
| bool | exclusive_orders, | ||
| bool | verbose, | ||
| bool | mps ) | 
Definition at line 39 of file prog_solver.cc.
      
  | 
  virtual | 
Definition at line 47 of file prog_solver.cc.
      
  | 
  protectedvirtual | 
the ProgSolver solves an ExchangeGraph...
Implements cyclus::ExchangeSolver.
Definition at line 55 of file prog_solver.cc.
      
  | 
  static | 
Definition at line 21 of file prog_solver.h.