NEOS Server Home

NEOS Interfaces to MILES

Sample Submissions
WWW Form - Email - XML-RPC


The NEOS Server offers MILES for the solution of mixed complementarity problems in GAMS format.

MILES is a Fortran program for solving nonlinear complementarity problems and nonlinear systems of equations. The solution procedure is a generalized Newton method with a backtracking line search. This code is based on an algorithm investigated by Mathiesen (1985) who proposed a modeling format and sequential method for solving economic equilibrium models. In this implementation, subproblems are solved as linear complementarity problems (LCPs), using an extension of Lemke's almost-complementary pivoting scheme in which upper and lower bounds are represented implicitly. The linear solver employs the basis factorization package LUSOL, developed by Gill et al. (1991)

MILES was originally developed by Thomas F. Rutherford. The documentation for MILES is available on the GAMS Solvers website.

Using the NEOS Server for MILES/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.

Web Submission Form
Model File
You can submit an optimization problem specified in the GAMS modeling language to be solved using the optimization tools on the NEOS Server. You need to specify the absolute path to a GAMS file on your system.
Options File
The Options file is optional and requires that the statement <modelname>.optfile = 1 ; exist before the solve statement in your model file. At this time, only optfile = 1 is supported; however, options may also be specified within the model input file (see the GAMS documentation).
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.
Return GDX output
Return log file
Enter any additional comments here (e.g. 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.