public class BoundedPortfolioConstructionParameters extends PortfolioConstructionParameters
Constructor and Description |
---|
BoundedPortfolioConstructionParameters(java.lang.String[] astrAssetID,
CustomRiskUtilitySettings qcru,
PortfolioEqualityConstraintSettings pecs)
BoundedPortfolioConstructionParameters Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
addBound(java.lang.String strAssetID,
double dblLowerBound,
double dblUpperBound)
Set the Bounds for the specified Asset
|
AffineBoundMultivariate[] |
boundingConstraints(int iNumExtraneousVariate)
Retrieve the Array of the Inequality Constraint Functions
|
double[] |
feasibleStart()
Retrieve an Array of Viable Starting Variates From Within the Feasible Region
|
double |
lowerBound(java.lang.String strAssetID)
Retrieve the Lower Bound for the Specified Asset ID
|
double |
upperBound(java.lang.String strAssetID)
Retrieve the Upper Bound for the Specified Asset ID
|
double[] |
weightConstrainedFeasibleStart()
Retrieve an Array of Viable Weight Constrained Starting Variates From Within the Feasible Region
|
assets, constraintSettings, equalityConstraintRdToR1, equalityConstraintValue, fullyInvestedConstraint, optimizerSettings, returnsConstraint
public BoundedPortfolioConstructionParameters(java.lang.String[] astrAssetID, CustomRiskUtilitySettings qcru, PortfolioEqualityConstraintSettings pecs) throws java.lang.Exception
astrAssetID
- Array of Assets IDqcru
- The Quadratic Custom Risk Utility Settingspecs
- The Portfolio Equality Constraint Settingsjava.lang.Exception
- Thrown if the Inputs are Invalidpublic boolean addBound(java.lang.String strAssetID, double dblLowerBound, double dblUpperBound)
strAssetID
- The Asset IDdblLowerBound
- The Asset Share Lower BounddblUpperBound
- The Asset Share Upper Boundpublic double lowerBound(java.lang.String strAssetID) throws java.lang.Exception
strAssetID
- The Asset IDjava.lang.Exception
- Thrown if the Bound cannot be extractedpublic double upperBound(java.lang.String strAssetID) throws java.lang.Exception
strAssetID
- The Asset IDjava.lang.Exception
- Thrown if the Bound cannot be extractedpublic AffineBoundMultivariate[] boundingConstraints(int iNumExtraneousVariate)
iNumExtraneousVariate
- Number of Extraneous Variateapublic double[] feasibleStart()
public double[] weightConstrainedFeasibleStart()