Genetic Algorithm - Case by Case Optimization

2 vues (au cours des 30 derniers jours)
Harvey Rael
Harvey Rael le 4 Août 2018
Commenté : Harvey Rael le 4 Août 2018
Hi All,
I may be asking a stupid question, but is there a way to optimize on a case by case basis without needing to change the input parameters all the time? I shall give you a brief background. I am trying to optimize a trajectory, starting on date A. The variables to be optimized are the time flown, and a trajectory shaping factor, and the function to be minimised is the fuel calculation (fuel burnt). There are bounds on the time flown. I can do it for starting date A (which has an effect on the fuel calculation). I now want to store those optimal values, and move to start date B, optimise for that case, store, move to start date C, etc etc. Is it possible?
  2 commentaires
Matt J
Matt J le 4 Août 2018
You can certainly use ga() within a loop to solve a sequence of problems, if that's what you're asking.
Harvey Rael
Harvey Rael le 4 Août 2018
How would I do that? Do I need to pass my code?

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by