# [Ipopt] [*****SPAM*****] Ipopt Digest, Vol 66, Issue 6

Edson Cordeiro do Valle edsoncv at gmail.com
Wed Jun 16 09:48:03 EDT 2010

```   Pierre
You don't need to solve your problem with ipopt, you can solve it easyly
in excel, since you don't have a constrained optimization problem:
First, apply log to both sides of equation and get:
ln (Y) = ln (p1*exp(p2.X))
which is equal to:
ln (Y) = ln (p1) + p2.X
Calculate the Y and X vector in excel (from your experimental data).
plot Y, vs X.
make a linear regression in excel
the linear coeficient will be ln(p1) and the angular p2.
I hope this would help. Like we say in my country, you're trying to use
a cannon to kill an ant :) .

Regards

ipopt-request at list.coin-or.org escreveu:
> Send Ipopt mailing list submissions to
> 	ipopt at list.coin-or.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://list.coin-or.org/mailman/listinfo/ipopt
> or, via email, send a message with subject or body 'help' to
> 	ipopt-request at list.coin-or.org
>
> You can reach the person managing the list at
> 	ipopt-owner at list.coin-or.org
>
> than "Re: Contents of Ipopt digest..."
>
>
> Today's Topics:
>
>    1. optimization with experimental data
>       (pierre-lin.pommier at fr.michelin.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 15 Jun 2010 10:23:31 +0200
> From: pierre-lin.pommier at fr.michelin.com
> Subject: [Ipopt] optimization with experimental data
> To: ipopt at list.coin-or.org
> Message-ID:
> 	<OF98FA538D.CF578227-ONC1257743.002D8BBE-C1257743.002E1D9B at michelin.com>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
>
> I'm looking for to solve an optimization problem. I have some experimental
> data and I want to minimize the difference (L2-norm) between the model and
> the measures.
>
> I have some difficulties to link Ipopt solver : how can I take into
> account these experimental data in functions "eval_f", "eval_grad_f",
> "eval_g", "eval_jac_g" and "eval_h" ?
>
> You gave an example to minimize a function without experimental data.
>
> For instance, if my function is
>
> y(p1, p2, x) = p1 * exp(p2 * x)
>
> where p1 and p2 are my 2 parameters, x is my variable (the temperature for
> instance). So at each componant of x, called x_i, I must have a new point
> y(p1, p2, x_i)
>
> the jacobian of my function is
>
> exp(p2 * x)
> p2 * p1 * exp(p2 * x)
>
> for each x.
>
> How can I program functions "eval_f", "eval_grad_f", "eval_g",
> "eval_jac_g" and "eval_h" ?
>
> Thank you very much.
>
> Sincerly,
>
> Pierre-Lin Pommier
> _______________________________________________________
> Pierre-Lin POMMIER
> Manufacture Fran?aise des Pneumatiques Michelin
> CTE/DTO/SIM/ET   CER  Ladoux - B?timent  F32 ? 2?me ?tage
> 23 place des Carmes-Dechaux 63040 Clermont-Ferrand Cedex 9
> Tel int : 67 194                                   Fax int : 68 541
> Tel ext : (+33) (0)4 73 10 71 94      Fax ext : (+33) (0)4 73 10 85 41
> mail : pierre-lin.pommier at fr.michelin.com
>
> Confidentialit? D3
> _______________________________________________________
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://list.coin-or.org/pipermail/ipopt/attachments/20100615/cdcfa62f/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
>
> End of Ipopt Digest, Vol 66, Issue 6
> ************************************
>

```