DEBUG1("%s", trace_buf);
trace_buf[0] = '\000';
+ DEBUG0("Constraints");
/* Printing Constraints */
cnst_list = &(sys->active_constraint_set);
xbt_swag_foreach(cnst, cnst_list) {
sum, cnst->bound, sum - cnst->bound);
}
+ DEBUG0("Variables");
/* Printing Result */
xbt_swag_foreach(var, var_list) {
if (var->bound > 0) {
var_list = &(sys->variable_set);
DEBUG1("Variable set : %d", xbt_swag_size(var_list));
xbt_swag_foreach(var, var_list) {
+ int nb=0;
+ int i;
var->value = 0.0;
+ for (i = 0; i < var->cnsts_number; i++) {
+ if(var->cnsts[i].value==0.0) nb++;
+ }
+ if((nb==var->cnsts_number) && (var->weight>0.0))
+ var->value = 1.0;
}
/*