We did some modelling as you can see on pictures. Our model did not show us any error but our objective value came NA and our z value 0 . Another problem is we can’t see ''display,solver" parts of output. I add our mathmetical model and GAMS code.
Hi
You have an objective where z (a Variable) is equal to another variable (cMax). But neither cMax or z is part of another equation.
In general, to solve an optimization problem you need an objective function that contains variables that appear in the constraints.
BTW: You better submit the code or attach files, so people can look into your question.
Cheers
Renger