Initializing help system before first use

NlpValidateKKT Method

Validates the first order optimality conditions also known as the Karush-Kuhn-Tucker (KKT) conditions versus the currect solution

Namespace:  Optimizer
Assembly: xprsdn (in xprsdn.dll) Version: 45.01.02+1f9fd7ff9a8620394fec1839699751312debed40
Syntax
C#
public void NlpValidateKKT(
	int mode,
	int respectbasis,
	int updatemult,
	double violtarget
)

Parameters

mode   Int32
The calculation mode can be:
  • 0: recalculate the reduced costs at the current solution using the current dual solution.
  • 1: minimize the sum of KKT violations by adjusting the dual solution.
  • 2: perform both.
respectbasis   Int32
The following ways are defined to assess if a constraint is active:
  • 0: evaluate the recalculated slack activity versus XSLP_ECFTOL_R.
  • 1: use the basis status of the slack in the linearized problem if available.
  • 2: use both.
updatemult   Int32
The calculated values can be:
  • 0: only used to calculate the XSLP_VALIDATIONINDEX_K measure.
  • 1: used to update the current dual solution and reduced costs.
violtarget   Double
When calculating the best KKT multipliers, it is possible to enforce an even distribution of reduced costs violations by enforcing a bound on them.
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.