<![CDATA[ ... ]]> tag is an escape indicator. This
will ensure that any special characters in your inputs (such as <, >,
&, etc.) will be interpreted correctly.
For email, send this file as the message body or as a plain text attachment to
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>nco</category>
<solver>SNOPT</solver>
<inputMethod>FORTRAN</inputMethod>
<N><![CDATA[
...Insert Value Here...
]]></N>
<M><![CDATA[
...Insert Value Here...
]]></M>
<initpt><![CDATA[
...Insert Value Here...
]]></initpt>
<fcn><![CDATA[
...Insert Value Here...
]]></fcn>
<cfcn><![CDATA[
...Insert Value Here...
]]></cfcn>
<xbound><![CDATA[
...Insert Value Here...
]]></xbound>
<cbound><![CDATA[
...Insert Value Here...
]]></cbound>
<spec><![CDATA[
...Insert Value Here...
]]></spec>
<comments><![CDATA[
...Insert Value Here...
]]></comments>
</document>
subroutine initpt(n,x)
n - integer (input)
number of variables
x - double precision, length n (output)
starting point
subroutine fcn(n,x,f)
n - integer (input)
number of variables
x - double precision, length n (input)
vector of variables
f - double precision, objective function evaluated at x
subroutine cfcn(n,x,m,c)
n - integer (input)
number of variables
x - double precision, length n (input)
vector of variables
m - integer (input)
number of general constraints
c - double precision, length m (output)
general constraint functions at x
subroutine xbound(n,xl,xu)
n - integer (input)
number of variables
xl - double precision, length n (output)
lower bounds
xu - double precision, length n (output)
upper bounds
If x(i) has no lower bound, then xl(i) should be set to a large
negative number (e.g., -1.00d+10), similarly if x(i) has no upper
bound, then xu(i) should be set to a large positive number
(e.g., 1.00d+00).
subroutine cbound(m,cl,cu)
n - integer (input)
number of general constraints
cl - double precision, length m (output)
lower bounds
cu - double precision, length m (output)
upper bounds
If c(i) has no lower bound, then cl(i) should be set to a large
negative number (e.g., -1.00d+10), similarly if c(i) has no upper
bound, then cu(i) should be set to a large positive number
(e.g., 1.00d+00).