Package nis.svc.opt.api
Interface ProjectReports.ConstraintsReport
-
- Enclosing interface:
- ProjectReports
public static interface ProjectReports.ConstraintsReport
The constraints report is where the information about the problem constraints is summarized. Individual, group, sector and factor constraints are all show. here you can see whether the constraints were satisfied or not...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFactorAttribute(java.lang.String id, java.lang.String name, double minimumWeight, double initialWeight, double optimalWeight, double maximumWeight, double initialOut, double optimalOut, java.lang.String flag)
void
addGroup(java.lang.String id, java.lang.String name, double minimumWeight, double initialWeight, double optimalWeight, double maximumWeight, double initialOut, double optimalOut, java.lang.String flag)
void
addIndividual(java.lang.String id, java.lang.String name, double minimumWeight, double initialWeight, double optimalWeight, double maximumWeight, double initialOut, double optimalOut, java.lang.String flag)
void
addSector(java.lang.String id, java.lang.String name, double minimumWeight, double initialWeight, double optimalWeight, double maximumWeight, double initialOut, double optimalOut, java.lang.String flag)
ReportsTables.ConstraintsRow[]
factorAttribute()
returns an array of constraints row objects for the atrribut and factor constraints in the problem.ReportsTables.ConstraintsRow[]
group()
returns an array of constraints row objects for the industry group constraints in the problem.ReportsTables.ConstraintsRow[]
individual()
returns an array of constraints row objects for the individual constraints in the problem.ReportsTables.ConstraintsRow[]
sector()
returns an array of constraints row objects for the sector constraints in the problem.
-
-
-
Method Detail
-
individual
ReportsTables.ConstraintsRow[] individual()
returns an array of constraints row objects for the individual constraints in the problem. each row contains: asset id, name, min weight, max weight, initial weight, optimal weight, initial weight percentage out of constraint, optimal weight percentage out of constraint.- Returns:
- individual constraint summary
-
group
ReportsTables.ConstraintsRow[] group()
returns an array of constraints row objects for the industry group constraints in the problem. each row contains: industry group id, name, min weight, max weight, initial weight, optimal weight, initial weight percentage out of constraint, optimal weight percentage out of constraint.- Returns:
- group constraint summary
-
sector
ReportsTables.ConstraintsRow[] sector()
returns an array of constraints row objects for the sector constraints in the problem. each row contains: sector id, name, min weight, max weight, initial weight, optimal weight, initial weight percentage out of constraint, optimal weight percentage out of constraint.- Returns:
- sector constraint summary
-
factorAttribute
ReportsTables.ConstraintsRow[] factorAttribute()
returns an array of constraints row objects for the atrribut and factor constraints in the problem. each row contains: factor / attribute id, name, min weight, max weight, initial weight, optimal weight, initial weight percentage out of constraint, optimal weight percentage out of constraint.- Returns:
- factor / attribute constraint summary
-
addIndividual
void addIndividual(java.lang.String id, java.lang.String name, double minimumWeight, double initialWeight, double optimalWeight, double maximumWeight, double initialOut, double optimalOut, java.lang.String flag)
-
addGroup
void addGroup(java.lang.String id, java.lang.String name, double minimumWeight, double initialWeight, double optimalWeight, double maximumWeight, double initialOut, double optimalOut, java.lang.String flag)
-
addSector
void addSector(java.lang.String id, java.lang.String name, double minimumWeight, double initialWeight, double optimalWeight, double maximumWeight, double initialOut, double optimalOut, java.lang.String flag)
-
addFactorAttribute
void addFactorAttribute(java.lang.String id, java.lang.String name, double minimumWeight, double initialWeight, double optimalWeight, double maximumWeight, double initialOut, double optimalOut, java.lang.String flag)
-
-