Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.5K Views
|
6 Replies
|
1 Total Like
View groups...
Share
Share this post:

Slap swarm algorithm in Wolfram language?

Posted 4 years ago

Dear all,

Unfortunately, I didn't find any metaheuristic algorithms in Mathematica. For example, is it possible to implement this algorithm in Mathematica? I am a beginner in Mathematica and need your help in solving my problem with this algorithm.

Thank you so much for your help.

enter image description here

POSTED BY: Alex Teymouri
6 Replies

Alex,

this surely is not difficult to implement in Mathematica - but I admit that I do not understand this algorithm. Normally one wants to e.g. minimize some multi dimensional function. What function is it? Is it F? But F is nowhere updated. And what about formula (1): Is this supposed to be kind of a piecewise definition? How would a clear definition of $x_i^1$ really read? Anyhow - I guess quite a bit of information is needed here.

POSTED BY: Henrik Schachner

Why do you need this particular algorithm?

POSTED BY: Daniel Lichtblau
Posted 4 years ago

Daniel,

There is no specific reason.I have one reason for asking this question: I like Mathematica.

Unfortunately, I do not see any metaheuristic optimization algorithms in Mathematica. On the other hand, you can easily find different opt. algorithms in Matlab, R, Phyton, etc. This is not acceptable. I just wanted to see if this kind of algorithm is difficult in Mathematica?!!

POSTED BY: Alex Teymouri

Check the documentation for the various Method option settings for NMinimize. Some fall into the family of "metaheuristics".

POSTED BY: Daniel Lichtblau
Posted 4 years ago

Hi Alex,

Interesting.

A Google search for salp swarm algorithm code finds implementations in Matlab and Python. Why not try converting one of them to WL. If you get stuck, post your attempt.

POSTED BY: Rohit Namjoshi
Posted 4 years ago

Thank you, Rohit.

I looked at the following link:

https://github.com/thieu1995/metaheuristics

I didn't understand anything. Sorry for wasting your time .

POSTED BY: Alex Teymouri
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard