The following example demonstrates a benchmark study from the command line interface. In this case, the solver option is the default, IPOPT. The model is executed with the command apmonitor test. No flags are required as all options are set in the DBS file.

to:

The following example demonstrates a benchmark study from the command line interface. In this case, the solver option is IPOPT. The model is executed with the command apm test -solver=ipopt.

The following example demonstrates a benchmark study from the command line interface. In this case, the NLC.Solver option is set to 3 to use the IPOPT solver. The model is executed with the command apmonitor test. No flags are required as all options are set in the DBS file.

to:

The following example demonstrates a benchmark study from the command line interface. In this case, the solver option is the default, IPOPT. The model is executed with the command apmonitor test. No flags are required as all options are set in the DBS file.

The following example demonstrates a benchmark study from the command line interface. In this case, the NLC.Solver option is set to 3 to use the IPOPT v3.5 solver. The model is executed with the command apmonitor test. No flags are required as all options are set in the DBS file.

to:

The following example demonstrates a benchmark study from the command line interface. In this case, the NLC.Solver option is set to 3 to use the IPOPT solver. The model is executed with the command apmonitor test. No flags are required as all options are set in the DBS file.

The following example demonstrates a benchmark study from the command line interface. In this case, the NLC.Solver option is set to 0 to use all solvers in the benchmark study. The model is executed with the command apmonitor test. No flags are required as all options are set in the DBS file.

to:

The following example demonstrates a benchmark study from the command line interface. In this case, the NLC.Solver option is set to 3 to use the IPOPT v3.5 solver. The model is executed with the command apmonitor test. No flags are required as all options are set in the DBS file.

This program contains IPOPT, a program for large-scale nonlinear optimization.
IPOPT is released as open source under the Common Public License (CPL).
For more information visit www.coin-or.org/Ipopt

to:

This program contains Ipopt, a library for large-scale nonlinear optimization.
Ipopt is released as open source code under the Common Public License (CPL).
For more information visit http://projects.coin-or.org/Ipopt

Deleted lines 60-108:

Number of variables : 2
of which are fixed : 0
Number of constraints : 2
Number of lower bounds : 0
Number of upper bounds : 0
Number of nonzeros in Jacobian: 2
ITER ERR MU ||C|| ||D|| ALFA(X) #LS F Regu
0 .000D+00d .100D+00 .000D+00 .000D+00 .000D+00 0 0.00000000D+00 .000D+00
Number of iterations taken ............. 0
Final value of objective function is.... 0.0000000000000000D+00
Errors at final point (scaled) (unscaled)
Final maximal constraint violation is... 0.000000D+00 0.000000D+00
Final value for dual infeasibility is... 0.000000D+00 0.000000D+00
Final value of complementarity error is. 0.000000D+00 0.000000D+00
The objective function was evaluated 1 times.
The constraints were evaluated 1 times.
EXIT: OPTIMAL SOLUTION FOUND
CPU seconds spent in IPOPT and function evaluations = 0.0000
The solution was found after 0 Iterations.
The final value of the objective function is 0.
---------------------------------------------------
Solver : IPOPT (v2.3)
Solution time : 0.26559999999999995 sec
Objective : 0.
Successful solution
---------------------------------------------------
**********************************************
Steady State Optimization with Interior Point Solver
**********************************************
******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear optimization.
Ipopt is released as open source code under the Common Public License (CPL).
For more information visit http://projects.coin-or.org/Ipopt
******************************************************************************

The following example demonstrates a benchmark study from the command line interface. In this case, the NLC.Solver option is set to 0 to use all solvers in the benchmark study. The model is executed with the command apmonitor test. No flags are required as all options are set in the DBS file.

Command Line Interface

All other APMonitor interfaces are wrappers for the command line interface. A problem is executed from the command line interface with parameters that follow the APMonitor executable name.

apmonitor model_name {-flags}

The optional flags are listed below. The command line parameters are converted to upper-case letters automatically so lower-case parameters are also acceptable. This list of flags can also be obtained by including a non-existant flag, such as -help.