RepairInfeas Method (Char, Char, Char, Double, Double, Double, Double, Double)
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 43.01.03
public int RepairInfeas( char penalty, char phase2, char flags, double lepref, double gepref, double lbpref, double ubpref, double delta )
Parameters
- penalty
-
Type:
SystemChar
The type of penalties created from the preferences:- c: each penalty is the reciprocal of the preference (default);
- s: the penalties are placed in the scaled problem.
- phase2
-
Type:
SystemChar
Controls the second phase of optimization:- o: use the objective sense of the original problem (default);
- x: maximize the relaxed problem using the original objective;
- f: skip optimization regarding the original objective;
- n: minimize the relaxed problem using the original objective;
- i: if the relaxation is infeasible, generate an irreducible infeasible subset for the analys of the problem;
- a: if the relaxation is infeasible, generate all irreducible infeasible subsets for the analys of the problem.
- flags
-
Type:
SystemChar
Specifies what type of solve should be done:- g: solve as MIP (default);
- l: solve as a linear model ignoring the discreteness of variables;
- x: call the global solver.
- lepref
-
Type:
SystemDouble
Preference for relaxing the less or equal side of row. - gepref
-
Type:
SystemDouble
Preference for relaxing the greater or equal side of a row. - lbpref
-
Type:
SystemDouble
Preferences for relaxing lower bounds. - ubpref
-
Type:
SystemDouble
Preferences for relaxing upper bounds. - delta
-
Type:
SystemDouble
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.
Return Value
Type: Int32The value that the wrapped function would return in p_status.
© 2001-2024 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.