Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

PyGMO and MMA [sf#37] #37

Closed
darioizzo opened this issue Feb 24, 2014 · 2 comments
Closed

PyGMO and MMA [sf#37] #37

darioizzo opened this issue Feb 24, 2014 · 2 comments
Milestone

Comments

@darioizzo
Copy link
Member

Originally created by *anonymous on 2013-11-21 06:33:00.

Hi,
i am trying to set an optimazation problem using the MMA-algorithm with no general contraints. Following values i have to determine:

  • objective function
  • gradient 1
  • gradient 2
  • design variable 1 with the lower and upper bound
  • design variable 2 with the lower and upper bound

Has someone a short explanation or an example for an possible input-file?

Thank you for your time!

Martin

@darioizzo
Copy link
Member Author

Originally posted by darioizzo on 2013-11-22 17:32:43.

prob = myprob()
algo = algorithm.nlopt_mma()
pop = population(algo,1)
print pop.champion.f
pop = algo.evolve(pop)
print pop.champion.f

where myprob is your problem defined as in http://pagmo.sourceforge.net/pygmo/tutorials/adding_a_new_optimization_problem.html

@darioizzo
Copy link
Member Author

Originally posted by darioizzo on 2013-11-22 17:33:17.

  • status: open --> closed
  • assigned_to: Dario Izzo

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant