File: GlpkCallbackListener.java

package info (click to toggle)
glpk-java 1.12.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,580 kB
  • sloc: sh: 3,609; java: 1,794; xml: 259; makefile: 154; ansic: 35
file content (17 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package org.gnu.glpk;

/**
 * Callback Listener.
 * <p>The GLPK MIP solver calls method {@link GlpkCallback#callback(long)
 * GLPK.callback} in the branch-and-cut algorithm. A listener to the callback
 * can be used to influence the sequence in which nodes of the search tree are
 * evaluated, or to supply a heuristic solution.
 * @see GlpkCallback
 */
public interface GlpkCallbackListener {
    /**
     * Method call by the GLPK MIP solver in the branch-and-cut algorithm.
     * @param tree search tree
     */
    void callback(glp_tree tree);
}