Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETsolninfo
is used to access solution
information computed by a previous call to CPXNETprimopt
. The
solution values are maintained in the object as long as no changes are
applied to it with one of the CPXNETchg..., CPXNETcopy... or
CPXNETadd...
functions.
The arguments to CPXNETsolninfo
are pointers to locations
where data are to be written. The returned values indicate what is known
about the primal and dual feasibility of the current solution. If either
piece of information represented by an argument to
CPXNETsolninfo
is not required, a NULL pointer
can be passed for that argument.
Example
status = CPXNETsolninfo (env, lp, &pfeasind, &dfeasind);
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
pfeasind_p | A pointer to an integer variables indicating whether the current solution is known to be primal feasible. Note that a false return value does not necessarily mean that the solution is not feasible. It simply means that the relevant algorithm was not able to conclude that it was feasible when it terminated. |
dfeasind_p | A pointer to an integer variables indicating whether the current solution is known to be dual feasible. Note that a false return value does not necessarily mean that the solution is not feasible. It simply means that the relevant algorithm was not able to conclude that it was feasible when it terminated. |