-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Valid solvers for GAMS writer #3359
Comments
Hey Tanuj,
or whichever model type you have according to https://www.gams.com/latest/docs/UG_ModelSolve.html#UG_ModelSolve_ModelClassificationOfModels |
Dear David, Many thanks for your prompt response. Since then any general NLP/MINLP models can be solved. As far as I understand, GUROBI v11 can only accept univariate nonlinear functions currently. Please see the links below:
To allow any general MINLPs to be solved by GUROBI, GAMS has an option I am aware that Pyomo's interface with GUROBI currently does not support general nonlinear constraints and an issue is open currently (#3249). Hence, in the meantime I wanted to work around this and use GUROBI to solve my nonlinear model. I hope this clarifies my situation further. Best wishes, |
Hi Pyomo development team,
The recent versions of GAMS (v46+) incorporate GUROBI v11 which support solution of NLP/MINLP models directly. However, invoking GUROBI through GAMS in Pyomo results in 'ValueError: GAMS writer passed solver (gurobi) unsuitable for model type (nlp)' when trying to solve a NLP/MINLP.
Many thanks for your support.
Best wishes,
Tanuj
The text was updated successfully, but these errors were encountered: