최적화/jmetal

jmetal 튜토리얼 (3) Constraint handling

Dong Uk Won 2022. 1. 17. 11:05
반응형

참고: https://jmetal.readthedocs.io/en/latest/constraints.html

 

The constraint handling mechanism adopted in jMetal is based on the one used in NSGA-II (described in [DPA02]), and it involves solutions, problems, and comparators.

 

If we take a look to the Solution interface:

 

 

 

 

An example of constrained problem is Srinivas, defined in [DPA02]:

 

double을 리턴한다고 했는데 그러면 어떤 위반된 정도를 나타내는듯

음의 값이 크면 클수록 굉장히 심하게 위반했다. 

 

 

 

 

 

 

When a dominance test is applied to solutions having constraints, the scheme proposed in the NSGA-II paper is adopted, which is implemented in the OverallConstraintViolationComparator class:

Note that the violation degree of solution is a negative number, so in the comparisons between solutions the higher the value the better.