필터 지우기
필터 지우기

fmincon, MaxFunctionEvaluations and out of memory

조회 수: 1 (최근 30일)
Hessam Fathipour
Hessam Fathipour 2019년 5월 30일
편집: Walter Roberson 2019년 6월 1일
When I increasing manually the "MaxFunctionEvaluations" in fmincon, optimization stopped because of "out of memory". How can I fix it?
  댓글 수: 1
Walter Roberson
Walter Roberson 2019년 5월 30일
I would not tend to expect that unless your objective function is saving data to memory, or in certain cases involving OutputFcn or PlotFcn ?

댓글을 달려면 로그인하십시오.

답변 (1개)

Hessam Fathipour
Hessam Fathipour 2019년 6월 1일
편집: Hessam Fathipour 2019년 6월 1일
it's that error I mentioned:
Error using ldl
Out of memory. Type "help memory" for your options.
Error in formAndFactorKKTmatrix
Error in computeTrialStep
Error in barrier
  댓글 수: 1
Walter Roberson
Walter Roberson 2019년 6월 1일
편집: Walter Roberson 2019년 6월 1일
Are you using OutputFcn or PlotFcn or saving data to persistent memory or global variables?
Are you using a lot of input variables? Possibly enough that without the increasing in function evaluations, it cannot estimate the gradient even once, so increasing the maximum function evaluations might be permitting it to proceed further than it would otherwise?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Systems of Nonlinear Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by