AMPL-Gurobi Result Values

Gurobi can return the following status codes to an AMPL session.

ValueMessage
0optimal solution
100suboptimal: could not satisfy optimaliter tolerances
200infeasible [IIS computation not attempted]
201infeasible [IIS returned]
202infeasible [IIS finder failed]
203infeasible; .dunbdd returned [IIS computation not attempted]
204infeasible; .dunbdd returned [IIS also returned]
205infeasible; .dunbdd returned [IIS finder failed]
300unbounded
301unbounded [unbounded or infeasible; IIS finder failed]
302unbounded; .unbdd returned
303unbounded; .unbdd returned [IIS finder failed]
400cutoff reached
401iteration limit
402node limit
403time limit
404solution limit
500Could not create the gurobi environment
501Gurobi call failed [message gives routine name]
502misc. failure [message gives details]
503Bad $gurobi_options
504Surprise VBasis[...] = ...
505Surprise CBasis[...] = ...
506Gurobi set/get parameter failed [message gives more details]
510cannot open logfile (specified in $gurobi_options or command line)
511cannot open paramfile (specified in $gurobi_options or command line)
512missing value in paramfile
513extra text in paramfile
514invalid parameter name in paramfile
520numeric error
521nonlinear objective
522nonlinear constraint
523quadratic objective involving division by 0
524indefinite quadratic objective
525quadratic constraint involving division by 0
530could not open serverlic file
531error in serverlic file
532error while tuning
567complementarity constraint
600interrupted
601could not talk to Gurobi compute server
602job rejected by Gurobi compute server
603no license for specified gurobi compute server
604surprise return while trying to use Gurobi compute server

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Academic License
Gurobi supports the teaching and use of optimization within academic institutions. We offer free, full-featured copies of Gurobi for use in class, and for research.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.

Search