Message Boards Message Boards

0
|
6313 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Solving an optimization problem with exponent and constraints

Posted 9 years ago

Any Ideas how to solve the equation? Mathematica doesn't solve it. The Original maximization problem was:

FullSimplify[D[(1-(g-(Subscript[p, b](s(1+u)-x)+k)/((Subscript[p, b]-Subscript[p, a])(s*(1+u)-x)-2k))?)(-g+(pb(s(1+u)-x)+k)),g]]

I don't' know how to put the constraints, but they are

Subscript[p, b] between 0-1

Subscript[p, a] between 0-1

When I try to solve it, it doesn't solve:

Input:

    FullSimplify[Solve[-1 - ?*(-g + k + (s + s*u - x)*Subscript[p, b])*(g + (k + (s + s*u - x)*Subscript[p, b])/(2*k +
 (s + s*u - x)*(Subscript[p, a] - Subscript[p, b])))^(-1 + ?) + (g + (k + (s + s*u - x)*Subscript[p, b])/(2*k +
 (s + s*u - x)*(Subscript[p, a] - Subscript[p, b])))^? == 0, g]]

Output:

        Solve[(g + (k + (s + s*u - x)*Subscript[p, b])/(2*k + (s + s*u - x)*(Subscript[p, a] - Subscript[p, b])))^? ==
     1 + ?*(-g + k + (s + s*u - x)*Subscript[p, b])*(g +
 (k + (s + s*u - x)*Subscript[p, b])/(2*k + (s + s*u - x)*(Subscript[p, a] - Subscript[p, b])))^(-1 + ?), g]
POSTED BY: yossi sh

FullSimplify and Solve are not optimization functions. FindMinimum and FindMaximum are numerical local optimizers and NMinimize and NMaximize are numerical global optimizers. Minimize and Maximize are symbolic global optimizers.

Also, it is better to enter code in a code sample block which makes it easier to read.

POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract