Issue of maximizing a profit function
이전 댓글 표시
Morning everybody.
I've just become very familiar with Matlab, but I'm having trouble to maximization of a profit function:
we have profit function=
\pi_{I}= P_{I}*q_{I} - sqrt(X_{I})/2;
and demand function=
P_{I}=A+'\beta'*X_{I}+'\mu'*X_{E}-q_{E}-q_{I}
P_{E}=A+'\beta'*X_{E}+ '\mu'*X_{I}-q_{E}-q_{I}
with '\mu'<='\beta'
(0<='\beta')&('\beta'<= 1)
Please how to determine q_{I} who maximizes the profit function (\pi{I}) ?
Which syntax would be written in Matlab, please?
Best regards.
댓글 수: 2
Ted Shultz
2019년 8월 23일
One way to solve this class of problems is to make the function you want to maximize a minimization problem (multiply by -1) and then use a function like fminsearch.
Another way is to try to calculate the derivative, check locations where that is == 0 to see if it is a maximum.
Zongo Amara Mohamed Isaac
2019년 8월 23일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!