Initializing help system before first use

XpressProblem.CallbackAPI.UserSolNotifyCallback Delegate

usersolnotify callback

Namespace:  Optimizer.Objects
Assembly: xprsdn (in xprsdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
C#
public delegate void UserSolNotifyCallback(
	XpressProblem cbprob,
	string solname,
	int status
)

Parameters

cbprob   XpressProblem
The problem passed to the callback function, usersolnotify.
solname   String
The string name assigned to the solution when it was loaded into the Optimizer using addMipSol.
status   Int32
One of the following status values:///
  • 1: Solution is feasible. (XPRS_USERSOLSTATUS_ACCEPTED_FEASIBLE)
  • ///
  • 2: Solution is feasible after reoptimizing with fixed MIP entities. (XPRS_USERSOLSTATUS_ACCEPTED_OPTIMIZED)
  • ///
  • 3: A local search heuristic was applied and a feasible solution discovered. (XPRS_USERSOLSTATUS_SEARCHED_SOL)
  • ///
  • 4: A local search heuristic was applied but a feasible solution was not found. (XPRS_USERSOLSTATUS_SEARCHED_NOSOL)
  • ///
  • 5: Solution is infeasible and a local search could not be applied. (XPRS_USERSOLSTATUS_REJECTED_INFEAS_NOSEARCH)
  • ///
  • 6: Solution is partial and a local search could not be applied. (XPRS_USERSOLSTATUS_REJECTED_PARTIAL_NOSEARCH)
  • ///
  • 7: Failed to reoptimize the problem with MIP entities fixed to the provided solution. Likely because a time or iteration limit was reached. (XPRS_USERSOLSTATUS_REJECTED_FAILED_OPTIMIZE)
  • ///
  • 8: Solution is dropped. This can happen if the MIP problem is changed or solved to completion before the solution could be processed. (XPRS_USERSOLSTATUS_DROPPED)
  • ///
  • 9: The solution is worse than the current MIP cutoff value. (XPRS_USERSOLSTATUS_REJECTED_CUTOFF)
  • ///
Remarks
More details about the usersolnotify callbacks can be found in the documentation of the corresponding C callback.
See Also

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