Issue of maximizing a profit function
Afficher commentaires plus anciens
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 commentaires
Ted Shultz
le 23 Août 2019
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
le 23 Août 2019
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Choose a Solver dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!