Using fmincon in a way that the results are taken out of a vector which is set by myself

Viewed 27

Is it possible to use fmincon so that the result is not a continuous x in a range lower_bound <= x <= upper_bound, but concrete numbers that I specify.

In my case, the matrix E is to be determined. Numbers in a vector such as V = [0.3 0.5 1] are to be distributed in the matrix E in such a way that another result C calculated with E becomes minimal.

An examples of possible result would be:

E = [ 0.3 0.3 0.5 1;
      0.5 0.5 0.3 0.5;
      1   0.3 0.3 0.5]
0 Answers
Related