|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.opttek.optquest.COptQuestObjective
com.opttek.optquest.COptQuestPortfolioObjective
public class COptQuestPortfolioObjective
The COptQuestPortfolioObjective class defines the objective of an optimization as minimizing or maximizing a statistic on a measure. The user must define COptQuestProjectVariables with observations or period observations.
| Constructor Summary | |
|---|---|
COptQuestPortfolioObjective()
Default constructor |
|
COptQuestPortfolioObjective(java.lang.String name)
Constructor that assigns a name to the portfolio objective. |
|
| Method Summary | |
|---|---|
int |
GetPortfolioMeasure()
Returns the portfolio measure set by the SetPortfolioMeasure() method. |
int |
GetPortfolioStatistic()
Returns the portfolio statistic defined by the SetPortfolioStatistic() method. |
double |
GetPortfolioStatisticValue()
Returns the statistic value defined by the SetPortfolioStatistic() method. |
boolean |
IsLinear()
Returns true if the objective is a linear function. |
void |
SetPortfolioMeasure(int measure)
Defines the measure for the portfolio objective. |
void |
SetPortfolioStatistic(int statistic,
double statisticValue)
Defines the statistic for the portfolio objective. |
| Methods inherited from class com.opttek.optquest.COptQuestObjective |
|---|
GetBestFeasible, GetBestValue, GetCurrentFeasible, GetCurrentFeasible, GetCurrentValue, GetCurrentValue, GetName, GetNthBestFeasible, GetNthBestValue, GetReplicationConfidenceLevel, GetReplicationConfidencePercent, GetReplicationConfidenceType, IsMaximize, IsMinimize, SetCurrentValue, SetCurrentValue, SetMaximize, SetMinimize, SetName, SetReplicationConfidence |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public COptQuestPortfolioObjective()
public COptQuestPortfolioObjective(java.lang.String name)
name - | Method Detail |
|---|
public boolean IsLinear()
COptQuestObjective
IsLinear in class COptQuestObjective
public void SetPortfolioStatistic(int statistic,
double statisticValue)
throws COptQuestException
statistic - statisticValue - - target value for OCLP_PERCENTILE, OCLP_SEMI1STDDEV,
OCLP_SEMI2STDDEV and OCLP_PROBABILITY
COptQuestException - if the statistic or statistic value are invalid.public int GetPortfolioStatistic()
public double GetPortfolioStatisticValue()
public void SetPortfolioMeasure(int measure)
throws COptQuestException
measure - COptQuestException - if the measure is invalid.public int GetPortfolioMeasure()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||