05-01-2013 12:17 AM
I define 4 numeric variables: a, b, c, d and want to calculate the minimal value of objective function, and meet a problem.
When interating, the a variable named flag is based on variable a, b : flag=max(a,b), and the flag variable is also involved in the objective function, for example:
min f= X + a*Y * flag - ........;
that means the flag variable value and the objective function will change during each interation. So how to define them in proc optmodel.
Need further help from the community? Please ask a new question.