/** \page xml1 XML File 1: Rosenbrock's Function (subroutine)
The XML file for OPT++ can be thought of as being broken down into
blocks of XML. Each block must be "opened" and "closed". The main
block is the OPT block. It has two sub-blocks, ProblemSetup and the
algorithm block. Each of those has sub-blocks which contain the
detailed information for OPT++.
The ProblemSetup block has four sub-blocks. The first is the function
type. In this case, it is "Library" since we are using the subroutine
interface. You can see the data values for the Rosenbrock's function
example.
The second sub-block is the VariableClass block. It contains an array
of the optimization variables. Recall that for Rosenbrock's function,
there are no bounds on the variables, so the "lower" and "upper"
values consist only of empty quotes.
The third and fourth sub-blocks are LConstraintClass and
NLConstraintClass, respectively. Recall that there are no
constraints, these blocks take the following form.
The algorithm block is named according to the algorithm that is being
used. In this case, it is PDS. (The other possibilities are CG,
Newton, and NIPS.) The algorithm block has three sub-blocks that
contain the algorithmic parameters. There are the BasicOptions, the
AdvancedOptions, and the algorithm-specific parameters. The
BasicOptions and AdvancedOptions are the same for all of the
algorithms. The algorithm-specific parameters vary. You can see what
they are for the different algorithms by looking at the examples in
the OPT++/tests/xml directory.
Next Example: \ref xml2 | Back to \ref GUI_XMLDoc
*/