Borrar filtros
Borrar filtros

Optimizing functions involving higher dimensions?

1 visualización (últimos 30 días)
Rohit Gupta
Rohit Gupta el 6 de Jun. de 2018
Comentada: Torsten el 6 de Jun. de 2018
I want to find minimum for function in higher dimension. I found minf_lbfgs() in tensorlab but it requires me to give gradient. Are there any tools which give me result without calculating gradient.
x = fminsearch(fun,x0) works only when x is matrix (or less).

Respuestas (1)

Torsten
Torsten el 6 de Jun. de 2018
Check out
https://de.mathworks.com/products/optimization.html
Usually, providing the gradient in MATLAB codes from the Optimization Toolbox is optional, but not necessary.
Best wishes
Torsten.
  2 comentarios
Rohit Gupta
Rohit Gupta el 6 de Jun. de 2018
It works only till x is a matrix. If I give higher dimension it shows error!
Torsten
Torsten el 6 de Jun. de 2018
Then make the matrix a vector:
x = x(:)
Best wishes
Torsten.

Iniciar sesión para comentar.

Categorías

Más información sobre Problem-Based Optimization Setup en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by