Example 3 function evaluation progam. This function evaluation expects its input to come from a text file, and it writes its output to to a text file.
The test problem is:
The nonlinear constraints are handled using a penalty approach. Define
The objective value that is return in the output file is:
The bounds are handled in the example3.apps input file, where we also define the scaling and intial guessis defined as:
This example courtesy of William Hart, Sandia National Labs.
Definition in file example3.cpp.
Include dependency graph for example3.cpp:
|double||feval (const vector< double > &x)|
|Function Evaluation. |
|int||main (int argc, char *argv)|
Generated on Fri Feb 16 10:33:35 2007 for APPSPACK 5.0.1 by 188.8.131.52 written by Dimitri van Heesch, © 1997-2002