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.

<document>
<category>socp</category>
<solver>COPT</solver>
<inputMethod>MPS</inputMethod>

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

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

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

<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 location of the MPS file (local file)
options
Enter the location of file containing COPT option settings
post
Enter the location of file containing post-optimization commands (display)
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 MILPs)
wantsol
Check the box to include the solution file as part of the results
comments