File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
include/osp/bsp/scheduler/IlpSchedulers Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -438,17 +438,20 @@ class CoptFullScheduler : public Scheduler<Graph_t> {
438438 }
439439 }
440440 }
441+ }
442+ }
441443
442- for (unsigned step = 0 ; step < max_number_supersteps; step++){
443- if (step < first_at[node][p1])
444- model.SetMipStart (comm_processor_to_processor_superstep_node_var[p1][p1][step]
444+ for (const auto &node : DAG.vertices ())
445+ for (unsigned proc = 0 ; proc < num_processors; proc++)
446+ for (unsigned step = 0 ; step < max_number_supersteps; step++)
447+ {
448+ if (step >= first_at[node][proc])
449+ model.SetMipStart (comm_processor_to_processor_superstep_node_var[proc][proc][step]
445450 [static_cast <int >(node)], 1 );
446451 else
447- model.SetMipStart (comm_processor_to_processor_superstep_node_var[p1][p1 ][step]
452+ model.SetMipStart (comm_processor_to_processor_superstep_node_var[proc][proc ][step]
448453 [static_cast <int >(node)], 0 );
449454 }
450- }
451- }
452455
453456 for (const auto &node : DAG.vertices ()) {
454457
You can’t perform that action at this time.
0 commit comments