1 #ifndef __HEURISTICS_H__
2 #define __HEURISTICS_H__
4 #include "../scheduler.h"
virtual bool Run()
Creates the model and run the optimization.
Definition: heuristics.cpp:18
const bool Optimized()
Returns true only if the MIP have been succesfully optimized.
Definition: heuristics.cpp:36
SchedulingHeuristic(SchedulingInstance &si)
Creates a heuristic with given scheduling instance.
Definition: heuristics.cpp:13
Defines a scheduling instance to be solved.
Definition: instance.h:41
Dummy class that define required methods for a heuristic that solve a scheduling instance.
Definition: heuristics.h:18
virtual ~SchedulingHeuristic()
The destructor.
Definition: heuristics.cpp:43
Dummy class that define required methods for a solver of a scheduling instance.
Definition: scheduler.h:12
void SetLogFile(const string &name)
Set the use of the log with given file name.
Definition: heuristics.cpp:40
delphos::CallBackPtr GetCallBack()
Returns the call back if it exists.
Definition: heuristics.cpp:32
const Schedule & GetSchedule()
Returns the result schedule.
Definition: heuristics.cpp:24
void SetCallBack(delphos::CallBackPtr fp)
Set a time advance user callback.
Definition: heuristics.cpp:28
Defines a scheduling of blocks.
Definition: schedule.h:23