Esempio n. 1
0
def apply_omip_bounds(all_tasks, num_cpus, procs_per_cluster):
    model = get_cpp_model(all_tasks)
    res = lp_cpp.lp_omip_bounds(model, num_cpus, procs_per_cluster)
    apply_suspension_oblivious(all_tasks, res)
    return res
Esempio n. 2
0
def apply_omip_bounds(all_tasks, num_cpus, procs_per_cluster):
    model = get_cpp_model(all_tasks)
    res = lp_cpp.lp_omip_bounds(model, num_cpus, procs_per_cluster)
    apply_suspension_oblivious(all_tasks, res)
    return res