Initializing help system before first use

XPRSgetunbvec

Purpose
Returns the index vector which causes the primal simplex or dual simplex algorithm to determine that a matrix is primal or dual unbounded respectively.
Topic areas
Synopsis
int XPRS_CC XPRSgetunbvec(XPRSprob prob, int *p_seq);
Arguments
prob 
The current problem.
p_seq 
Pointer to an integer where the vector causing the problem to be detected as being primal or dual unbounded will be returned. In the dual simplex case, the vector is the leaving row for which the dual simplex detected dual unboundedness. In the primal simplex case, the vector is the entering row p_seq (if p_seq is in the range 0 to ROWS -1) or column (variable) p_seq-ROWS- SPAREROWS (if p_seq is between ROWS+SPAREROWS and ROWS+SPAREROWS+ COLS -1) for which the primal simplex detected primal unboundedness.
Error value
91 
A current problem is not available.
Further information
When solving using the dual simplex method, if the problem is primal infeasible then XPRSgetunbvec returns the pivot row where dual unboundedness was detected. Also note that when solving using the dual simplex method, if the problem is primal unbounded then XPRSgetunbvec returns -1 since the problem is dual infeasible and not dual unbounded.
Related topics

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.