fmincon: objfun and nonlinear constraint subproblem

조회 수: 21 (최근 30일)
Mariel
Mariel 2015년 11월 3일
답변: Alan Weiss 2015년 11월 3일
I am using fmincon to find local minimum and my objfun and equality constraints are of the form
%%%constraints
function [c,ceq] = nonlin_constr(x)
V = subproblem(x)
...
% Ci are functions of V
ceq = [C1 .. Cn]
%%%objective
function Z = objfun(x)
V = subproblem(x)
...
% Z is the function of V
In other words, there is a subproblem for objective and constraint function, that happens to be computed multiple times for the same 'x'. Is there any way to optimize this computation? Thank you in advance for your answers.

답변 (1개)

Alan Weiss
Alan Weiss 2015년 11월 3일
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by