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.Example2dTest1 Class Reference

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

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

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 (nonlinear constrained, 2 parameters, 2 constraints).

Problem solved is: min f(x,y)=x^2+y^4, subject to y>=(x-3)^6 and y>=17-x^2 .

f(x,y)=x^2+y^4

c_1(x,y)=(x-3)^6-y

c_2(x,y)=17-x^2-y

Known local solution:

x=4, y=1, f(x,y) = 17.

Member Function Documentation

Property Documentation

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

Number of parameters.

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

Number of objectives.

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

Number of constraints.


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