Some of my models might contain the "abs" function.
Before, GAMS would complain that I did not specify "DNLP", so I would just set the model type to "MINLP" (since I want to solve with Baron anyways).
In the latest 0.4.3 version, this still worked, but it seems to be ignored in the 0.5 versions.
Thus, even after setting the problem type as shown above, "NLP" is written to the .gms file.
Some of my models might contain the "abs" function. Before, GAMS would complain that I did not specify "DNLP", so I would just set the model type to "MINLP" (since I want to solve with Baron anyways).
set_optimizer_attribute(model, GAMS.ModelType(), "MINLP")
In the latest 0.4.3 version, this still worked, but it seems to be ignored in the 0.5 versions. Thus, even after setting the problem type as shown above, "NLP" is written to the .gms file.