Skip to content

Latest commit

Β 

History

History
6 lines (4 loc) Β· 270 Bytes

README.md

File metadata and controls

6 lines (4 loc) Β· 270 Bytes

GeneticAlgorithm

Using Gene Algorithm to find the maximize solution of the following problem

Maximize𝑓(π‘₯,𝑦)=βˆ’π‘₯𝑠𝑖𝑛(4π‘₯)βˆ’1.1𝑦𝑠𝑖𝑛(2𝑦)+1 8≀x≀10; 10≀y≀13; x+y≀22

Expect to get maximum 23.0063 at (x,y)=(9.039,11.802)