XSLPvalidatevector
XSLPvalidatevector |
Purpose
Validate the feasibility of constraints for a given solution
Synopsis
int XPRS_CC XSLPvalidate(XSLPprob Prob, double *Vector, double *SumInf, double *SumScaledInf, double *Objective);
Arguments
Prob
|
The current SLP problem.
|
Vector
|
A vector of length
XPRS_COLS containing the solution vector to be checked.
|
SumInf
|
Pointer to double in which the sum of infeasibility will be returned. May be NULL if not required.
|
SumScaledInf
|
Pointer to double in which the sum of scaled (relative) infeasibility will be returned. May be NULL if not required.
|
Objective
|
Pointer to double in which the net objective will be returned. May be NULL if not required.
|
Further information
XSLPvalidatevector works the same way as
XSLPvalidate, and will update
XSLP_VALIDATIONINDEX_A and
XSLP_VALIDATIONINDEX_R.
Related topics