How can I optimize Data with Genetic Algorithm?

I have no function
I have data in 4 vectors V(1), V(2), V(3), V(4), each (1 x 200)
I would like to use one variable x(n) to multiply with each cell in the data vector, so (x(1), x(2), x(3), x(4), a total of 4 variables.
this result needs to be add up.
Is there any way with GA to find the minimum?
Many regards, Henk Jan Keizer

Answers (1)

It sounds more like a linear programming problem for which you could use linprog

This question is closed.

Asked:

on 5 Sep 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!