IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Num.OptConstrained.Example2dTestSimple Class Reference

A simple test optimization problem (quadratic constrained, 2 parameters, 2 linear constraints). More...

+ Inheritance diagram for IG.Num.OptConstrained.Example2dTestSimple:
+ Collaboration diagram for IG.Num.OptConstrained.Example2dTestSimple:

Public Member Functions

override void Analyse (IAnalysisResults analysisData)
 Performs the direct analysis, i.e. calculation of the response functions of the optimization problem. More...
 

Properties

override int NumParameters [get, set]
 Number of parameters. More...
 
override int NumObjectives [get, set]
 Number of objectives. More...
 
override int NumConstraints [get, set]
 Number of constraints. More...
 
- Properties inherited from IG.Num.AnalysisBase
object Lock [get]
 
virtual int NumParameters [get, set]
 Number of parameters. More...
 
virtual int NumObjectives [get, set]
 Number of objective functions (normally 1 for this type, but can be 0). More...
 
virtual int NumConstraints [get, set]
 Number of constraints. More...
 
virtual int NumEqualityConstraints [get, set]
 Number of equality constraints. More...
 
- Properties inherited from IG.Num.IAnalysis
int NumParameters [get, set]
 Number of parameters. More...
 
int NumObjectives [get, set]
 Number of objective functions (normally 1 for this type, but can be 0). More...
 
int NumConstraints [get, set]
 Number of constraints. More...
 
int NumEqualityConstraints [get, set]
 Number of equality constraints. More...
 
- Properties inherited from IG.Lib.ILockable
object Lock [get]
 

Additional Inherited Members

- Protected Attributes inherited from IG.Num.AnalysisBase
int _numParameters = -1
 
int _numObjectives = -1
 
int _numConstraints = -1
 
int _numEqualityConstraints = -1
 

Detailed Description

A simple test optimization problem (quadratic constrained, 2 parameters, 2 linear constraints).

Problem solved is: min f(x,y)=(x/2)^2+(y/1)^2, subject to x+y>=2 and y>=0.5 :

f(x,y)= min f(x,y)=(x/2)^2+(y)^2

c_1(x,y)= 2-x-y

c_2(x,y)= 0.5-y

Known local solution:

x=1.5, y=0.5, f(x,y) = 1.5625 .

Member Function Documentation

Property Documentation

override int IG.Num.OptConstrained.Example2dTestSimple.NumParameters
getset

Number of parameters.

override int IG.Num.OptConstrained.Example2dTestSimple.NumObjectives
getset

Number of objectives.

override int IG.Num.OptConstrained.Example2dTestSimple.NumConstraints
getset

Number of constraints.


The documentation for this class was generated from the following file: