edu.harvard.econcs.jopt.solver
Class MIPInfeasibleException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by edu.harvard.econcs.jopt.solver.MIPException
                  extended by 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

Nested Class Summary
static class MIPInfeasibleException.Cause
           
 
Constructor Summary
MIPInfeasibleException(java.util.Map infeasibleVariables, java.util.Set infeasibleConstraints)
           
MIPInfeasibleException(java.lang.String msg)
           
 
Method Summary
 MIPInfeasibleException.Cause getCause(Variable v)
           
 java.lang.String getCauseDescription()
           
 java.util.Set getInfeasibleConstraints()
           
 java.util.Set getInfeasibleVariables()
           
 java.lang.String getMessage()
           
 boolean isReasonKnown()
           
 
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
 

Constructor Detail

MIPInfeasibleException

public MIPInfeasibleException(java.lang.String msg)

MIPInfeasibleException

public MIPInfeasibleException(java.util.Map infeasibleVariables,
                              java.util.Set infeasibleConstraints)
Method Detail

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