Because you haven’t fixed the iszero issue: Condition in @objective - #5 by odow
Look at your objective function use objective_function(premex). It won’t be what you think it is.
Because you haven’t fixed the iszero issue: Condition in @objective - #5 by odow
Look at your objective function use objective_function(premex). It won’t be what you think it is.