XPRSrepairinfeas
XPRSrepairinfeas |
int XPRS_CC XPRSrepairinfeas (XPRSprob prob, int *scode, char pflags, char oflags, char gflags, double lrp, double grp, double lbp, double ubp, double delta);
prob
|
The current problem.
|
||||||||||||||
scode
|
The status after the relaxation:
|
||||||||||||||
pflags
|
The type of penalties created from the preferences:
|
||||||||||||||
oflags
|
Controls the second phase of optimization:
|
||||||||||||||
gflags
|
Specifies if the global search should be done:
|
||||||||||||||
lrp
|
Preference for relaxing the less or equal side of row.
|
||||||||||||||
grp
|
Preference for relaxing the greater or equal side of a row.
|
||||||||||||||
lbp
|
Preferences for relaxing lower bounds.
|
||||||||||||||
ubp
|
Preferences for relaxing upper bounds.
|
||||||||||||||
delta
|
The relaxation multiplier in the second phase -1. For console use
-d value. A positive value means a relative relaxation by multiplying the first phase objective with (
delta-1), while a negative value means an absolute relaxation, by adding
abs(delta) to the first phase objective.
|
Forced algorithm selection (default for repairinfeas is primal).
|
READPROB MYPROB.LP REPAIRINFEAS -a -d 0.002
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.