- Clone the repository to your structure
- Download Mixed Integer Programming solver: http://scip.zib.de/download.php?fname=scipoptsuite-3.0.2.tgz
- Unpack it to the cloned repository
- Follow the installation instructions: http://scip.zib.de/doc-3.0.2/html/MAKE.shtml
- Rewrite the file scipoptsuite-3.0.2/scip-3.0.2/make/make.project by the file from cloned repository (setting compiler to follow c++11 standard)
- Run "make" in the cloned repository to compiled the code
- Go to the bin folder and run main to observed behaviour
See the main.cpp for example, you should create a vector of pointers to tasks. Then create a new scheduler object passing the address of the vector with tasks Scheduler sch(&schedT);
Then, method solve return true, if the solution is found and set execution_time in each tasks. Otherwise return false.
bool worked = sch.solve();
- Solve the bug that scheduler will handle preconditions of task
- Simplify the equations (if the pre is set to one, we dont need to have both equations)
- Run more tests
g++ -std=c++0x main.cpp task.cpp scheduler.cpp distWrapper.cpp -o main