Initializing help system before first use

AbstractGapNotifyListener

  • java.lang.Object
    • com.dashoptimization.AbstractGapNotifyListener
    • Constructor Detail

      • AbstractGapNotifyListener

        public AbstractGapNotifyListener()
    • Method Detail

      • XPRSgapNotifyEvent

        public final void XPRSgapNotifyEvent​(XPRSprob prob,
                                             java.lang.Object vContext,
                                             DoubleHolder newRelGapNotifyTarget,
                                             DoubleHolder newAbsGapNotifyTarget,
                                             DoubleHolder newAbsGapNotifyObjTarget,
                                             DoubleHolder newAbsGapNotifyBoundTarget)
        Description copied from interface: XPRSgapNotifyListener
        Handle a GapNotify event. More details about GapNotify events can be found in the documentation of the corresponding C callback.
        Specified by:
        XPRSgapNotifyEvent in interface  XPRSgapNotifyListener
        Parameters:
        prob - The current problem.
        vContext - The user-defined data passed as data when setting up the callback.
        newRelGapNotifyTarget - The value the MIPRELGAPNOTIFY control will be set to after this callback. May be modified within the callback in order to set a new notification target.
        newAbsGapNotifyTarget - The value the MIPABSGAPNOTIFY control will be set to after this callback. May be modified within the callback in order to set a new notification target.
        newAbsGapNotifyObjTarget - The value the MIPABSGAPNOTIFYOBJ control will be set to after this callback. May be modified within the callback in order to set a new notification target.
        newAbsGapNotifyBoundTarget - The value the MIPABSGAPNOTIFYBOUND control will be set to after this callback. May be modified within the callback in order to set a new notification target.
        See Also:
        C documentation of XPRSaddcbgapnotify()
      • gapNotifyEvent

        public abstract AbstractGapNotifyListener.GapNotify gapNotifyEvent​(XPRSprob prob,
                                                                           AbstractGapNotifyListener.GapNotify gapNotify)
        Invoke the callback.
        Parameters:
        prob - The problem on which the callback is invoked.
        gapNotify - The current gap notification configuration. It is ok to modify this object and return it from the function.
        Returns:
        the new gap notification configration to use or null to keep the default configuration.

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