Initializing help system before first use

# RepairInfeas(Char, Char, Char, Double, Double, Double, Double, Double) Method

Convenience wrapper for RepairInfeas(int,char,char,char,double,double,double,double,double) that returns the output argument.
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
C#

    public int RepairInfeas(
    	char penalty,
    	char phase2,
    	char flags,
    	double lepref,
    	double gepref,
    	double lbpref,
    	double ubpref,
    	double delta
    )

#### Parameters

penalty Char
  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 Char
  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 analysis of the problem;
  - a: if the relaxation is infeasible, generate all irreducible infeasible subsets for the analysis of the problem.
flags Char
  Specifies flags to be passed to optimize.
lepref Double
  Preference for relaxing the less or equal side of row.
gepref Double
  Preference for relaxing the greater or equal side of a row.
lbpref Double
  Preferences for relaxing lower bounds.
ubpref Double
  Preferences for relaxing upper bounds.
delta Double
  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

Int32
The value that the wrapped function would return in p_status.
See Also

#### Reference

XPRSprob Class
RepairInfeas Overload
Optimizer Namespace
Parent Topic RepairInfeas Method

© 2001-2026 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.