edu.harvard.econcs.jopt.solver
Class MIPInfeasibleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
edu.harvard.econcs.jopt.solver.MIPException
edu.harvard.econcs.jopt.solver.MIPInfeasibleException
- All Implemented Interfaces:
- java.io.Serializable
public class MIPInfeasibleException
- extends MIPException
Exception that is thrown when evaluating a MIP, that contains the infeasible set information
- Since:
- Apr 19, 2005
- Version:
- $Revision: 1.6 $ on $Date: 2006/11/08 10:36:05 $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MIPInfeasibleException
public MIPInfeasibleException(java.lang.String msg)
MIPInfeasibleException
public MIPInfeasibleException(java.util.Map infeasibleVariables,
java.util.Set infeasibleConstraints)
isReasonKnown
public boolean isReasonKnown()
getInfeasibleVariables
public java.util.Set getInfeasibleVariables()
getCause
public MIPInfeasibleException.Cause getCause(Variable v)
getInfeasibleConstraints
public java.util.Set getInfeasibleConstraints()
getCauseDescription
public java.lang.String getCauseDescription()
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable