I have a varaiable depends on another decision variable say the opening cost of a facility which is calculated based on a cell or region, this requires the allocation variable to be calculated first then start calculating the opening cost. I want this opening cost to be included in the objective.
Originally I would make the calculation as a dexpr however the logic is too complex to be added as a one line formula.
Is there a solution where I can make an execute block to act as a dexpr? or add a condition or constraint to postpone the variable calculation so that it's after finding an intial solution to the allocation variable?