# Documentation of mobjbahinconstr

Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)

## Function Synopsis

`ObjVal = mobjbahinconstr(Chrom, GoalMethod);`

## Help text

``` MultiObjective Problem (constrained): BAHIN's constrained function

This function implements BAHIN's multiobjective constrained function.
(by email - January 2006)

MO properties: Ptrue connected and constrained, PFtrue point

This function has two variables, two objectives and 3 constraints.
Each of the objectives and constraints depends on the two variables.
The constraints are easy to satiesfy.
The result is not really a Pareto front, more a point in the solution space.

GoalMethod = 2 may be used to check the effect, when the constraints
are not set to a constant value as soon as satiesfied. Then these
constraints are still optimized (as additional objectives). The result
is quite different.
Thus, GoalMethod = 2 is only an example to see an effect (not totally
obvious from the beginning).

Syntax:  ObjV = mobjbahinconstr(Chrom, GoalMethod)

For Input and Output parameters see objfun1.
GoalMethod - Scalar defining method of goal definition (and constraint calculation)
1: use goals for constraints defined to zero and constraints
set to zero when satiesfied
2: use goals according to the original constraint values, see above
if empty, NaN or not defined 1 is used

See also: mobjdebconstr, mobjsoland, mobjfonseca1, objfun1, mobjdtlz1
```

## Cross-Reference Information

This function calls This function is called by
 GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions  www.geatbx.com

This document is part of version 3.8 of the GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab - www.geatbx.com.
The Genetic and Evolutionary Algorithm Toolbox is not public domain.