Consider the following example constraints:
The input file for the "Linear" parameters (see Step 2: Create an APPSPACK input file) is as follows:
@ "Linear" "Lower" vector 3 DNE -0.6 0 "Upper" vector 3 5.7 DNE 1.3 "Scaling" vector 3 1 1 1 "Inequality Matrix" matrix 2 3 1 1 1 2 0 -9 "Inequality Upper" vector 2 .1 DNE "Inequality Lower" vector 2 DNE -4.1 "Equality Matrix" matrix 1 3 1 -1 1 "Equality Bound" vector 1 -5.2 @@
Note that we have explicitly defined "Scaling". This can only be definied implicity if the lower and upper bounds exist for every variable, in which case it is computed as
where represents the i-th entry of the scaling vector, represents the i-th upper bound, and represents the i-th lower bound. Here "DNE" is used to signify that the corresonding bound "Does Not Exist".
© Sandia Corporation | Site Contact | Privacy and Security
Generated on Fri Feb 16 10:33:36 2007 for APPSPACK 5.0.1 by 1.3.9.1 written by Dimitri van Heesch, © 1997-2002