Package org.drip.optimization.lp
Class SyntheticVariable
java.lang.Object
org.drip.optimization.lp.SyntheticVariable
public class SyntheticVariable
extends java.lang.Object
SyntheticVariable holds the Specifications of a Synthetic Variable. The References are:
- Nering, E. D., and A. W. Tucker (1993): Linear Programs and Related Problems Academic Press
- Murty, K. G. (1983): Linear Programming John Wiley and Sons New York
- Padberg, M. W. (1999): Linear Optimization and Extensions 2nd Edition Springer-Verlag
- van der Bei, R. J. (2008): Linear Programming: Foundations and Extensions 3rd Edition International Series in Operations Research and Management Science 114 Springer-Verlag
- Wikipedia (2020): Simplex Algorithm https://en.wikipedia.org/wiki/Simplex_algorithm
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description SyntheticVariable(java.lang.String name, double value, int type)
SyntheticVariable Constructor -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SyntheticVariable
public SyntheticVariable(java.lang.String name, double value, int type) throws java.lang.ExceptionSyntheticVariable Constructor- Parameters:
name
- SyntheticVariable Namevalue
- SyntheticVariable Valuetype
- SyntheticVariable Type- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
type
public int type()Retrieve the Synthetic Variable Type- Returns:
- The Synthetic Variable Type
-
name
public java.lang.String name()Retrieve the Synthetic Variable Name- Returns:
- The Synthetic Variable Name
-
value
public double value()Retrieve the Synthetic Variable Value- Returns:
- The Synthetic Variable Value
-