Code: Select all
obj_select = obj1*var1 + obj2*var2
.
.
.
obj.. z =e= obj_select
When var1 = 1 for a condition then var2 =0 no matter it became 1 before, the model just select the obj1 to optimize
When var2 = 1 for a condition then var1 =0 no matter it became 1 before, the model just select the obj1 to optimize
to sum up, I need to choose one objective according to the some conditions in the dataset.
Is there any idea?