Initializing help system before first use

RepairWeightedInfeas(Double[], Double[], Double[], Double[], Char, Double, String) Method

Convenience wrapper for RepairWeightedInfeas(int,double[],double[],double[],double[],char,double,string) that returns the output argument.

Namespace:  Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
Syntax
C#
public int RepairWeightedInfeas(
	double[] lepref,
	double[] gepref,
	double[] lbpref,
	double[] ubpref,
	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.
gepref   Double
Array of size ROWS containing the preferences for relaxing the greater or equal side of a row.
lbpref   Double
Array of size COLS containing the preferences for relaxing lower bounds.
ubpref   Double
Array of size COLS containing preferences for relaxing upper bounds.
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

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