NEOS Interfaces to CONOPT

Sample Submissions


The NEOS Server offers CONOPT for the solution of nonlinearly constrained optimization problems. Problems can be submitted to CONOPT on the NEOS server in AMPL or GAMS format.

CONOPT is a solver for general nonlinear programming models with sparse nonlinear constraints. It is a feasible-path method based on the GRG (generalized reduced gradient) algorithm. CONOPT is well-suited to models with very nonlinear constraints. It is a fast method for finding an initial feasible solution that is particularly well-suited to models with few degrees of freedom. Also, for models where many equations can be solved one by one, CONOPT will take advantage of this property. Similarly, CONOPT eliminates from the model intermediate variables only used to define objective function terms and moves the constraints into the objective function.

CONOPT was developed and is currently maintained by ARKI Consulting and Development A/S in Bagsvaerdvej, Denmark. For more information, visit the CONOPT website.


Using the NEOS Server for CONOPT/GAMS

The user must submit a model in GAMS format to solve an optimization problem. For security purposes, the model submitted must adhere to the following conventions:

If you are unfamiliar with GAMS, the GAMS Documentation includes a GAMS Tutorial and User's Guide. Examples of models in GAMS format can be found in the GAMS model library.

By default, the NEOS Server limits the amount of output generated in the listing file by turning off the symbol and unique element list, symbol cross references, and restricting the rows and columns listed to zero. This behavior can be changed by specifying the appropriate options in the model file. See the documentation on GAMS output for further information.

You may optionally submit an options file if you wish to override the default parameter settings for the solver. Currently, the NEOS Server can only use optfile=1 with GAMS input. Therefore, any model that specifies a different options file will not work as intended.

Update: As of April 2020, NEOS will use CONOPT4 by default for GAMS models.

Web Submission Form
Model File
Upload the GAMS model file.
Options File
The solver options file is optional. If provided, the statement <modelname>.optfile = 1 ; is required before the solve statement in your model file. Only optfile = 1 is supported, however, options also may be specified within the model input file (see the GAMS documentation).
Parameters File
A secondary parameters file may be uploaded to NEOS. This file is optional. Note that some settings are overwritten by NEOS default settings. (See GAMS Call and CL Parameters for more details.)
GDX File
Optional GDX file for inputs. This file will be renamed to "in.gdx". The model must include "$GDXIN in.gdx" to load this file.
GAMS Restart File
A GAMS restart file can be submitted to NEOS. (See GAMS Save and Restart for more details.)
Check this box if you want to use CONOPT3. By default, GAMS will run CONOPT4.
Return GDX output
Check the box to have the solver return a compressed GDX file that contains all of the symbols in the model.
Return GAMS listing file
Check the box to include the GAMS listing file in returned output.
Return log file
If the box is checked, the log file containing information generated by the solver will be returned with the output.
You may enter additional comments here, for example, to identify the data for your own information. These comments will be returned with your results.
Additional Settings

E-Mail address:
Please do not click the 'Submit to NEOS' button more than once.