       Maximum optimization problem

• To: mathgroup at smc.vnet.net
• Subject: [mg114750] Maximum optimization problem
• From: dani_marghe <daniela.erani at hotmail.it>
• Date: Wed, 15 Dec 2010 07:52:37 -0500 (EST)

```W[theta_] := bench + (theta[] me + theta[] btm + theta[] mom) ;
WplusTemp[theta_] :=
WaitAll[Map[Composition[ParallelSubmit, Max[0, #] &], W[theta], {2}]];
Wplus[theta_] := WplusTemp[theta]/Total[WplusTemp[theta], {2}];
rp[theta_] := Simplify[Total[Wplus[theta], {2}]];
eu[theta_] := Mean[-((1 + rp[theta])^-4/4)];
thetainit = theta /. Maximize[eu[theta], {thetame, thetabtm,thetamom}][];

Hi everyone!
I just started to use mathematica and to write in this blog.
I apologize for every possible mistake.

I need to maximize a function eu that is the mean of other functions I build as you can see above. I don't know the interval in which the maximum is, as a consequence the maximize operation is very slow.
Me, btm, bench, mom are N x M matrixes of known values. Theta, theta and theta are the three variables of the problem (the three variables the eu function depends on).
Another critical problem is due to the Max function that could not be executed until the result of maximization is given.
I would like to ask if it is possible to get the code faster, considering the Max functions and that I don't know the starting interval for the Maximize function.

Thank you for you attention and for your help!

```

• Prev by Date: Maximum optimization problem
• Next by Date: FindRoot failing in v8 on a system easily solvable in v7
• Previous by thread: Maximum optimization problem
• Next by thread: FindRoot failing in v8 on a system easily solvable in v7