|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
sbrt.kernel.fba.comp.FbaOptException
public class FbaOptException
This class is used to indicate that an optimal solution could not be found or does not exist.
Constructor Summary | |
---|---|
FbaOptException(MathExpr<?> objectiveFunction,
OptSense sense,
ProgramSolverStatus status)
Constructs a new FBA optimization exception. |
|
FbaOptException(MathExpr<?> objectiveFunction,
OptSense sense,
ProgramSolverStatus status,
java.lang.String message)
Constructs a new FBA optimization exception. |
Method Summary | |
---|---|
MathExpr<?> |
getObjFunction()
Returns the objective function whose optimal value could not be found. |
OptSense |
getSense()
Returns the sense, or direction, of the attempted optimization. |
ProgramSolverStatus |
getStatus()
Returns the status of the attempted optimization. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FbaOptException(MathExpr<?> objectiveFunction, OptSense sense, ProgramSolverStatus status)
objectiveFunction
- the objective function whose optimal value
could not be found.sense
- the sense, or direction, of the attempted optimization.status
- the status of the attempted optimization.public FbaOptException(MathExpr<?> objectiveFunction, OptSense sense, ProgramSolverStatus status, java.lang.String message)
objectiveFunction
- the objective function whose optimal value
could not be found.sense
- the sense, or direction, of the attempted optimization.status
- the status of the attempted optimization.message
- a message useful for debugging.Method Detail |
---|
public MathExpr<?> getObjFunction()
public OptSense getSense()
public ProgramSolverStatus getStatus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |