Initializing help system before first use

# RepairWeightedInfeasBounds(Double[], Double[], Double[], Double[], Double[], Double[], Double[], Double[], Char, Double, String) Method

Convenience wrapper for RepairWeightedInfeasBounds(int,double[],double[],double[],double[],double[],double[],double[],double[],char,double,string) that returns the output argument.
Namespace: Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 46.01.02+e8d9493ad804415424ae931ce2abaeb6c55a6d5a
Syntax
C#

    public int RepairWeightedInfeasBounds(
    	double[] lepref,
    	double[] gepref,
    	double[] lbpref,
    	double[] ubpref,
    	double[] lerelax,
    	double[] gerelax,
    	double[] lbrelax,
    	double[] ubrelax,
    	char phase2,
    	double delta,
    	string flags
    )

#### Parameters

lepref Double
  Array of size ROWS containing the preferences for relaxing the less or equal side of row. For the console use -lrp value.
gepref Double
  Array of size ROWS containing the preferences for relaxing the greater or equal side of a row. For the console use -grp value.
lbpref Double
  Array of size COLS containing the preferences for relaxing lower bounds. For the console use -lbp value.
ubpref Double
  Array of size COLS containing preferences for relaxing upper bounds. For the console use -ubp value.
lerelax Double
  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.
gerelax Double
  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.
lbrelax Double
  Array of size COLS containing the upper bounds on the amount the lower bounds can be relaxed. For the console use -lbb value.
ubrelax Double
  Array of size COLS containing the upper bounds on the amount the upper bounds can be relaxed. For the console use -ubb value.
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 analys of the problem;
  - a: if the relaxation is infeasible, generate all irreducible infeasible subsets for the analys of the problem.
delta Double
  The relaxation multiplier in the second phase -1.
flags String
  Specifies flags to be passed to optimize.

#### Return Value

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

#### Reference

XPRSprob Class
RepairWeightedInfeasBounds Overload
Optimizer Namespace
Parent Topic RepairWeightedInfeasBounds 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.