Download Dynamic Link Library Solver User`s Guide

Transcript
objsa
INTARG objsa (lp, begidx, endidx, lower, upper)
HPROBLEM lp;
INTARG begidx, endidx;
LPREALARG lower, upper;
This routine need be called only if sensitivity ranges for the objective function
coefficients are desired. The argument lp of objsa() must be the value returned by a
previous call to loadlp(). The arguments begidx and endidx are used to limit the set
of columns (variables) for which the range information is computed. Since range
information is not meaningful for NSP, NLP, QP and MIP problems, objsa should
not be called for them. objsa returns 0 unless there is an error in its arguments, in
which case it returns an integer value indicating the ordinal position of the first
argument found to be in error.
begidx
The first column number (index as in loadlp arguments) for which sensitivity range
information should be returned.
endidx
The last column number (index as in loadlp arguments) for which sensitivity range
information should be returned.
lower
An array of dimension endidx - begidx + 1 where the objective function coefficient
lower range values will be returned.
upper
An array of dimension endidx - begidx + 1 where the objective function coefficient
upper range values will be returned.
rhssa
INTARG rhssa (lp, begidx, endidx, lower, upper)
HPROBLEM lp;
INTARG begidx, endidx;
LPREALARG lower, upper;
This routine need be called only if sensitivity ranges for the constraint right hand
sides are desired. The argument lp of rhssa() must be the value returned by a
previous call to loadlp(). The arguments begidx and endidx are used to limit the set
of rows (constraints) for which the range information is computed. Since range
information is not meaningful for NSP, NLP, QP and MIP problems, rhssa should
not be called for them. rhssa returns 0 unless there is an error in its arguments, in
which case it returns an integer value indicating the ordinal position of the first
argument found to be in error.
begidx
The first row number (index as in loadlp arguments) for which sensitivity range
information should be returned.
endidx
The last row number (index as in loadlp arguments) for which sensitivity range
information should be returned.
lower
An array of dimension endidx - begidx + 1 where the constraint right hand side lower
range values will be returned.
upper
An array of dimension endidx - begidx + 1 where the constraint right hand side upper
range values will be returned.
Dynamic Link Library Solver User's Guide
Solver API Reference • 121