Skip to content

Commit e65cce4

Browse files
James CraigJames Craig
authored andcommitted
Update DemandOptimization.h
removed zero bound on user-specified decision variables
1 parent c46586c commit e65cce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DemandOptimization.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ struct decision_var
7171
name=nam;
7272
p_index=p;
7373
loc_index=loc_ind;
74-
value=0.0;min=0.0;max=ALMOST_INF;dvar_type=typ;dem_index=DOESNT_EXIST;
74+
value=0.0;min=-ALMOST_INF;max=ALMOST_INF;dvar_type=typ;dem_index=DOESNT_EXIST;
7575
}
7676
};
7777
//////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)