Is it possible to solve the problem on a permutation set with MATLAB tools?
Show older comments
Example: We have a function f(x), a set of elements that forms permutation set A(1,2,3). There are some additional linear limitations, that define the range of permissible values of the target function. The problem is to find maximum of the target funtion on permutation set A₃². And if so, by which algorithm?
3 Comments
Could you be more precise in stating your problem ?
You search for a permutation sigma such that
f(x(sigma(1)),x(sigma(2)),x(sigma(3)))
is maximized ?
And what are the constraints ?
John D'Errico
on 22 Mar 2023
My guess is, you have some function of a permutation of the set of integers 1:n, and you want to find the permutation that yields a maximal value over the set of all permutations?
Assume this is the case, as long as the permutation set is no larger than 18, then there is a unique mapping from the set of permutations into the set of integers 0:factorial(n)-1.
So use a tool like GA to solve for the optimal permutation.
potato curious
on 23 Mar 2023
Accepted Answer
More Answers (0)
Categories
Find more on Direct Search in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!