net.sourceforge.swimp.probe
Class CoinProbe

java.lang.Object
  extended by net.sourceforge.swimp.probe.CoinProbe

public class CoinProbe
extends java.lang.Object


Constructor Summary
CoinProbe()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static boolean probeCoinBasic()
          Check whether the basic Coin classes (and their native shared library) can be loaded.
static boolean probeOsiSolver(java.lang.String solverId)
          Check whether the wrapper class for the given OSI-compatible solver can be loaded (including the necessary shared library)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoinProbe

public CoinProbe()
Method Detail

main

public static void main(java.lang.String[] args)

probeCoinBasic

public static boolean probeCoinBasic()
Check whether the basic Coin classes (and their native shared library) can be loaded.

Returns:
true if the basic Coin classes can be loaded

probeOsiSolver

public static boolean probeOsiSolver(java.lang.String solverId)
Check whether the wrapper class for the given OSI-compatible solver can be loaded (including the necessary shared library)

Parameters:
solverId - identifier for the OSI-compatible solver to be checked. Currently supported values are clp, cbc, sym, vol, glpk, msk and cplex.
Returns:
true if the given solver can be loaded