XPRSrepairweightedinfeasbounds (REPAIRINFEAS)
XPRSrepairweightedinfeasbounds |
REPAIRINFEAS |
int XPRS_CC XPRSrepairweightedinfeasbounds(XPRSprob prob, int * scode, const double lrp_array[], const double grp_array[], const double lbp_array[], const double ubp_array[], const double lrb_array[], const double grb_array[], const double lbb_array[], const double ubb_array[], char phase2, double delta, const char *optflags);
REPAIRINFEAS -[pflags] -[oflags] -[gflags] -[lrp value] -[grp value] -[lbp value] -[ubp value] -[lrb value] -[grb value] -[lbb value] -[ubb value] -[d value] -[r]
prob
|
The current problem.
|
||||||||||||
scode
|
The status after the relaxation:
|
||||||||||||
lrp_array
|
Array of size
ROWS containing the preferences for relaxing the less or equal side of row. For the console use
-lrp value.
|
||||||||||||
grp_array
|
Array of size
ROWS containing the preferences for relaxing the greater or equal side of a row. For the console use
-grp value.
|
||||||||||||
lbp_array
|
Array of size
COLS containing the preferences for relaxing lower bounds. For the console use
-lbp value.
|
||||||||||||
ubp_array
|
Array of size
COLS containing preferences for relaxing upper bounds. For the console use
-ubp value.
|
||||||||||||
lrb_array
|
Array of size
ROWS containing the upper bounds on the amount the less or equal side of a row can be relaxed. For the console use
-lrb value.
|
||||||||||||
grb_array
|
Array of size
ROWS containing the upper bounds on the amount the greater or equal side of a row can be relaxed. For the console use
-grb value.
|
||||||||||||
lbb_array
|
Array of size
COLS containing the upper bounds on the amount the lower bounds can be relaxed. For the console use
-lbb value.
|
||||||||||||
ubb_array
|
Array of size
COLS containing the upper bounds on the amount the upper bounds can be relaxed. For the console use
-ubb value.
|
||||||||||||
phase2
|
Controls the second phase of optimization:
|
||||||||||||
delta
|
The relaxation multiplier in the second phase -1.
|
||||||||||||
optflags
|
Specifies flags to be passed to the Optimizer.
|
||||||||||||
r
|
If a summary of the violated variables and constraints should be printed after the relaxed solution is determined.
|
The weighted sum of violations if a solution is identified to the relaxed problem.
|
Preference | Affects | Relaxation | Cost if pref.>0 | Cost if pref.<0 |
---|---|---|---|---|
lrp | = rows | aTx - aux_var = b | 1/lrp*aux_var | 1/lrp*aux_var2 |
lrp | <= rows | aTx - aux_var <= b | 1/lrp*aux_var | 1/lrp*aux_var2 |
grp | = rows | aTx + aux_var = b | 1/grp*aux_var | 1/grp*aux_var2 |
grp | >= rows | aTx + aux_var >= b | 1/grp*aux_var | 1/grp*aux_var2 |
ubp | upper bounds | xi - aux_var <= u | 1/ubp*aux_var | 1/ubp*aux_var2 |
lbp | lower bounds | xi + aux_var >= l | 1/lbp*aux_var | 1/lbp*aux_var2 |
© 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.