![]() |
MineLink
|
Dummy class that define required methods for a fractional schedule to schedule heuristic that solve a scheduling instance. More...
#include <etheuristics.h>
Public Member Functions | |
FractionalScheduleToSchedule (delphos::SchedulingInstance &si) | |
Creates a fractional schedule to schedule heuristic. More... | |
![]() | |
SchedulingHeuristic (SchedulingInstance &si) | |
Creates a heuristic with given scheduling instance. More... | |
virtual | ~SchedulingHeuristic () |
The destructor. | |
virtual bool | Run () |
Creates the model and run the optimization. More... | |
const Schedule & | GetSchedule () |
Returns the result schedule. | |
void | SetCallBack (delphos::CallBackPtr fp) |
Set a time advance user callback. More... | |
delphos::CallBackPtr | GetCallBack () |
Returns the call back if it exists. | |
const bool | Optimized () |
Returns true only if the MIP have been succesfully optimized. | |
void | SetLogFile (const string &name) |
Set the use of the log with given file name. More... | |
![]() | |
Scheduler (delphos::SchedulingInstance &si) | |
Creates a new scheduler. More... | |
virtual | ~Scheduler () |
The destructor. | |
delphos::SchedulingInstance & | GetInstance () |
Returns the associated scheduling instance. | |
virtual void | SetGap (const float &gap) |
Sets the desired gap for the optimization. More... | |
const bool | IsStock () |
Returns true only if the inner scheduling instance has stoks. | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
static const string | CBC_MIPScheduler =string("CBC_MIPScheduler") |
Name of the CBC MIP scheduler. | |
static const string | CBC_SlidingTimeWindowHeuristic =string("CBC_SlidingTimeWindowHeuristic") |
Name of the CBC implemtation of the sliding time window heuristic. | |
static const string | GUROBI_MIPScheduler =string("GUROBI_MIPScheduler") |
Name of the gurobi MIP scheduler. | |
static const string | GUROBI_SlidingTimeWindowHeuristic =string("GUROBI_SlidingTimeWindowHeuristic") |
Name of the gurobi implemtation of the sliding time window heuristic. | |
Dummy class that define required methods for a fractional schedule to schedule heuristic that solve a scheduling instance.
This class defines the required methods to be implemented by a class that is able to solve a scheduling instance.
delphos::FractionalScheduleToSchedule::FractionalScheduleToSchedule | ( | delphos::SchedulingInstance & | si | ) |
Creates a fractional schedule to schedule heuristic.
si | The scheduling instance. |