How can ı solve this constraint optimization problem?

조회 수: 1 (최근 30일)
Sinem Senel
Sinem Senel 2020년 8월 1일
댓글: Sinem Senel 2020년 8월 2일

답변 (3개)

Bruno Luong
Bruno Luong 2020년 8월 1일
Hint: you should find
x=y=1

Star Strider
Star Strider 2020년 8월 1일
I get the feeling that this is likely homework.
It would likely be easiest to use the fmincon function, although there are several functions that could do what you want. Note that the optimisation functions minimise the function they are given, so to maximise it, calculate the negative of the function you supply to fmincon.
  댓글 수: 1
Sinem Senel
Sinem Senel 2020년 8월 2일
Actually ı tried fmin func but matlab always gave me an error ıdk what ı am doing wrong. And ı look some other examples they all have more constraints, x0 etc. I tried to solve this only using upper and lower bound But it could not work.

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


John D'Errico
John D'Errico 2020년 8월 1일
Many things you can do, but since this is your homework, and there are already answrs posted, I'll just suggest a couple of things. Why not plot it? Look at the surface. Look at contours of the function on that domain.
Other things. You could differentiate it. Is there a zero of the gradient vector in that region? Is that at a maximum or minimum?
You could use optimization tools. FMINCON comes to mind. Or GA, or any of a number of tools.
  댓글 수: 5
Bruno Luong
Bruno Luong 2020년 8월 2일
편집: Bruno Luong 2020년 8월 2일
x0 must be provided base on what a priori your knowledge of where the soluion would be (yeah you definitvely need to read about optimization tools). In this example I direct to you, they select simply as
0.5*(lb+ub)
which is the middle point of the box, heuristically chosen.
Sinem Senel
Sinem Senel 2020년 8월 2일
Thank you so much.you have no idea how much you helped me. Yeah I sould find a good article about optimisaon in matlab.

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

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by