Example 5 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:
All of the linear inequality, linear equality, and bound constraints are defined in the file example4.apps, where we also define the scaling and initial point as:
Definition in file example5.cpp.
#include <iostream>
#include <fstream>
#include <vector>
Include dependency graph for example5.cpp:

Go to the source code of this file.
Functions | |
| double | feval (const vector< double > &x) |
| Function Evaluation. | |
| int | main (int argc, char *argv[]) |
| Main. | |
|
|
Function Evaluation.
Definition at line 78 of file example5.cpp. |
|
||||||||||||
|
Main.
Definition at line 88 of file example5.cpp. References feval(). |
![]()
© Sandia Corporation | Site Contact | Privacy and Security
![]()
Generated on Fri Feb 16 10:33:35 2007 for APPSPACK 5.0.1 by
1.3.9.1 written by Dimitri van Heesch,
© 1997-2002