Initializing help system before first use

XPRSbasiscondition (BASISCONDITION)

XPRSbasiscondition

BASISCONDITION


Purpose
This function is deprecated, and will be removed in future releases. Please use the XPRSbasisstability function instead.

Calculates the condition number of the current basis after solving the LP relaxation.


Synopsis
int XPRS_CC XPRSbasiscondition(XPRSprob prob, double *condnum, double *scondnum);
BASISCONDITION
Arguments
prob 
The current problem.
condnum 
The returned condition number of the current basis.
scondnum 
The returned condition number of the current basis for the scaled problem.
Example 1 (Library)
Get the condition number after optimizing a problem.
XPRSlpoptimize(prob," ");
XPRSbasiscondition(prob,&condnum,&scondnum);
printf("Condition no's are %g %g\n",condnum,scondnum);
Example 2 (Console)
Print the condition number after optimizing a problem.
READPROB problem.mps
LPOPTIMIZE
BASISCONDITION
Further information
1. The condition number of an invertible matrix is the norm of the matrix multiplied with the norm of its inverse. This number is an indication of how accurate the solution can be calculated and how sensitive it is to small changes in the data. The larger the condition number is, the less accurate the solution is likely to become.
2. When using the BASISCONDITION command in the Console Optimizer, the condition number is shown both for the scaled problem and in parenthesis for the original problem.

© 2001-2020 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.