_msg="The problem is badly configurated and thus, likely to 1) be overconstrained or 2) can't be generated.\nThe failed condition is: "+failedCondDescr;
@@ -186,6 +196,41 @@ int CSDVP::CSDVP_COUNTER = 0;
...
@@ -186,6 +196,41 @@ int CSDVP::CSDVP_COUNTER = 0;
{
{
pb.addTimeFrame(pb.cfg_minimalTimeFrame()+i);
pb.addTimeFrame(pb.cfg_minimalTimeFrame()+i);
}
}
/* COURSES ASSIGNATION
* First, we create a tmp sized coursed vector.
* Then, for each timeframe, we randomly pick between [0,vec.size] n courses (n is random in [_minimalCoursesByTimeFrame ; _ maximalCoursesByTimeFrame])
* Then, _availableCourses is all the courses that have at least one assigned TF in vec.