$ifThen set X or Y
Posted: Mon Apr 01, 2024 7:38 pm
Hello,
Is there a way to execute the following condition when solving a model?
X and Y are compilation variables, and either one exists at a time.
Thanks,
Zamry
Is there a way to execute the following condition when solving a model?
Code: Select all
$ifThen set X or Y
Solve MODEL using nlp minimizing OBJ;
$else
Solve MODEL using lp minimizing OBJ;
$endIf
Thanks,
Zamry