XPRSrepairinfeas
int XPRS_CC XPRSrepairinfeas (XPRSprob prob, int *p_status, char penalty, char phase2, char flags, double lepref, double gepref, double lbpref, double ubpref, double delta);
prob
|
The current problem.
|
||||||||||||||
p_status
|
The status after the relaxation:
|
||||||||||||||
penalty
|
The type of penalties created from the preferences:
|
||||||||||||||
phase2
|
Controls the second phase of optimization:
|
||||||||||||||
flags
|
Specifies flags to be passed to XPRSoptimize.
|
||||||||||||||
lepref
|
Preference for relaxing the less or equal side of row.
|
||||||||||||||
gepref
|
Preference for relaxing the greater or equal side of a row.
|
||||||||||||||
lbpref
|
Preferences for relaxing lower bounds.
|
||||||||||||||
ubpref
|
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).
|
Preference | Affects | Relaxation | Cost if pref.>0 | Cost if pref.<0 |
---|---|---|---|---|
lepref | = rows | aTx - aux_var = b | 1/lepref*aux_var | 1/lepref*aux_var2 |
lepref | <= rows | aTx - aux_var <= b | 1/lepref*aux_var | 1/lepref*aux_var2 |
gepref | = rows | aTx + aux_var = b | 1/gepref*aux_var | 1/gepref*aux_var2 |
gepref | >= rows | aTx + aux_var >= b | 1/gepref*aux_var | 1/gepref*aux_var2 |
ubpref | upper bounds | xi - aux_var <= u | 1/ubpref*aux_var | 1/ubpref*aux_var2 |
lbpref | lower bounds | xi + aux_var >= l | 1/lbpref*aux_var | 1/lbpref*aux_var2 |
© 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.