Initializing help system before first use

XpressProblem.CallbackAPI.UserSolNotifyCallback

  • com.dashoptimization.objects.XpressProblem.CallbackAPI.UserSolNotifyCallback
    • Method Summary

      Modifier and Type Method Description
      void userSolNotify​(XpressProblem cbprob, java.lang.String solname, int status)
      Handle a usersolnotify event.
    • Method Detail

      • userSolNotify

        void userSolNotify​(XpressProblem cbprob,
                           java.lang.String solname,
                           int status)
        Handle a usersolnotify event. More details about usersolnotify events can be found in the documentation of the corresponding C callback.
        Parameters:
        cbprob - The problem passed to the callback function, usersolnotify.
        solname - The string name assigned to the solution when it was loaded into the Optimizer using addMipSol.
        status - 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)
        See Also:
        C documentation of XPRSaddcbusersolnotify()

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