Class EqualityConstraintSettings
java.lang.Object
org.drip.portfolioconstruction.allocator.EqualityConstraintSettings
public class EqualityConstraintSettings
extends java.lang.Object
EqualityConstraintSettings holds the Parameters required to generate the Mandatory Constraints for
the Portfolio.
- Module = Portfolio Core Module
- Library = Asset Allocation Analytics
- Project = Portfolio Construction under Allocation Constraints
- Package = MVO Based Portfolio Allocation Construction
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static int
FULLY_INVESTED_CONSTRAINT
FULLY_INVESTED_CONSTRAINT - The Mandatory Completely Invested Constraintstatic int
NO_CONSTRAINT
NO_CONSTRAINT - No Constraint of any Kindstatic int
RETURNS_CONSTRAINT
RETURNS_CONSTRAINT - The Mandatory Returns Constraint -
Constructor Summary
Constructors Constructor Description EqualityConstraintSettings(int constraintType, double returnsConstraint)
EqualityConstraintSettings Constructor -
Method Summary
Modifier and Type Method Description int
constraintType()
Retrieve the Constraint Typestatic EqualityConstraintSettings
FullyInvested()
Construct a Fully Invested Instance of EqualityConstraintSettingsstatic EqualityConstraintSettings
ReturnsConstrained(double returnsConstraint)
Construct a Returns Constrained Instance of EqualityConstraintSettingsdouble
returnsConstraint()
Retrieve the Returns Constraintstatic EqualityConstraintSettings
Unconstrained()
Construct an Unconstrained Instance of EqualityConstraintSettingsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
NO_CONSTRAINT
public static final int NO_CONSTRAINTNO_CONSTRAINT - No Constraint of any Kind- See Also:
- Constant Field Values
-
FULLY_INVESTED_CONSTRAINT
public static final int FULLY_INVESTED_CONSTRAINTFULLY_INVESTED_CONSTRAINT - The Mandatory Completely Invested Constraint- See Also:
- Constant Field Values
-
RETURNS_CONSTRAINT
public static final int RETURNS_CONSTRAINTRETURNS_CONSTRAINT - The Mandatory Returns Constraint- See Also:
- Constant Field Values
-
-
Constructor Details
-
EqualityConstraintSettings
public EqualityConstraintSettings(int constraintType, double returnsConstraint) throws java.lang.ExceptionEqualityConstraintSettings Constructor- Parameters:
constraintType
- The Constraint TypereturnsConstraint
- The Returns Constraint- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Unconstrained
Construct an Unconstrained Instance of EqualityConstraintSettings- Returns:
- Unconstrained EqualityConstraintSettings Instance
-
FullyInvested
Construct a Fully Invested Instance of EqualityConstraintSettings- Returns:
- Fully Invested EqualityConstraintSettings Instance
-
ReturnsConstrained
Construct a Returns Constrained Instance of EqualityConstraintSettings- Parameters:
returnsConstraint
- The Returns Constraint- Returns:
- Returns Constrained EqualityConstraintSettings Instance
-
constraintType
public int constraintType()Retrieve the Constraint Type- Returns:
- The Constraint Type
-
returnsConstraint
public double returnsConstraint()Retrieve the Returns Constraint- Returns:
- The Returns Constraint
-