|  | MineLink
    | 
Dummy class that define required methods for a solver of a scheduling instance. More...
#include <fractional_scheduler.h>


| Public Member Functions | |
| FractionalScheduler (delphos::SchedulingInstance &si) | |
| Creates a new scheduler.  More... | |
| virtual | ~FractionalScheduler () | 
| The destructor. | |
| delphos::SchedulingInstance & | GetInstance () | 
| Returns the associated scheduling instance. | |
| virtual bool | Run () | 
| Solves the scheduling instance. Returns true on success.  More... | |
| virtual const delphos::FractionalSchedule & | GetFractionalSchedule () | 
| Returns a fractional schedule. | |
| virtual const bool | Optimized () | 
| Returns true only if the scheduler has run succesfully. | |
| virtual void | SetLogFile (const string &name) | 
| Set the use of the log with given file name.  More... | |
| virtual void | ComputeExpectedTime (const string column) | 
| Compute the expected schedule time for each block. This implementation is a dummy version that do nothing. | |
| void | SetLPMethod (const int &lpcode) | 
| Set LP method.  More... | |
| virtual const double | GetDual (const string &cname) | 
| Return the dual value of given constraint.  More... | |
|  Public Member Functions inherited from delphos::BlockModelEntity | |
| BlockModelEntity (delphos::BlockModel &bm) | |
| Creates a new block instance associated to a given block model.  More... | |
| delphos::BlockModel & | GetBlockModel () | 
| Retrieves the block model to which the entity is associated.  More... | |
| const delphos::BlockModel & | GetBlockModel () const | 
| Retrieves the block model to which the entity is associated.  More... | |
Dummy class that define required methods for a solver of a scheduling instance.
This class defines the required methods to be implemented by a class that is able to solve a scheduling instance.
| delphos::FractionalScheduler::FractionalScheduler | ( | delphos::SchedulingInstance & | si | ) | 
Creates a new scheduler.
| si | The scheduling instance to be solved. | 
| 
 | virtual | 
Return the dual value of given constraint.
| cname | The name of the constraint of which the dual value is returned. This implementation is a dummy version that always returns 0. | 
Reimplemented in delphos::GurobiFractionalScheduler, and delphos::CBCFractionalScheduler.
| 
 | virtual | 
Solves the scheduling instance. Returns true on success.
In this class, it is simply a dummy method that returns always false.
Reimplemented in delphos::BZ, delphos::CBCFractionalScheduler, delphos::GurobiFractionalScheduler, delphos::GurobiBZ, and delphos::CBCBZ.
| 
 | virtual | 
Set the use of the log with given file name.
| name | The name of the log file. This implementation is a dummy version that do nothing. | 
Reimplemented in delphos::CBCFractionalScheduler, delphos::BZ, and delphos::GurobiFractionalScheduler.
| void delphos::FractionalScheduler::SetLPMethod | ( | const int & | lpcode | ) | 
Set LP method.
| lpcode | The code of lp method(simplex,dual simplex,barrier,...) |