Follow these steps to submit a job to NEOS via XML-RPC clients:
  1. Save the following template using your browser's copy and paste tools
  2. Using your favorite editor, plug your data files and parameters into the message in the indicated spots
  3. Descriptions of the input are written with the web interface in mind. If the description asks for the name of a file, then you will instead need to insert the contents of the file itself.
  4. The <![CDATA[ ... ]]> tag is an escape indicator. This will ensure that any special characters in your inputs (such as <, >, &, etc.) will be interpreted correctly.

For XML-RPC, you need to submit the contents of this file to NEOS with the submitJob() method, and retrieve the results with the getResults() method. Go here for more information on using the XML-RPC interface to NEOS.

Note: keep in mind that the Gurobi solvers are not available via the XML-RPC interface. Please use the web submission form.

<document>
<category>lp</category>
<solver>Gurobi</solver>
<inputMethod>MPS</inputMethod>
<email> insert valid email address </email>

<MPS><![CDATA[...Insert Value Here...]]></MPS>

<param><![CDATA[...Insert Value Here...]]></param>

<BAS><![CDATA[...Insert Value Here...]]></BAS>

<MST><![CDATA[...Insert Value Here...]]></MST>

<SOL><![CDATA[...Insert Value Here...]]></SOL>

<wantbas><![CDATA[...Insert Value Here...]]></wantbas>

<wantmst><![CDATA[...Insert Value Here...]]></wantmst>

<wantsol><![CDATA[...Insert Value Here...]]></wantsol>

<comments><![CDATA[...Insert Value Here...]]></comments>

</document>

Description of input values

MPS
Enter the path to the MPS file
param
Enter the path to the parameter file (optional)
BAS
Enter the path to a basis file (optional)
MST
Enter the path to a MIP start file (optional)
SOL
Enter the path to a solution file (optional)
wantbas
Check the box to include the basis file as part of the results (only valid for LPs)
wantmst
Check the box to include the MIP start file as part of the results (only valid for MIPs)
wantsol
Check the box to include the solution file as part of the results
comments