Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'convex optimization problem' topicStudent Support Forum > General > Archives > "convex optimization problem"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
01/09/13 2:11pm

In your

c2 = h2*(s2 - μ2) - NIntegrate[cost1* PDF[NormalDistribution[μ2, σ2], u], {u, s2 - w, Infinity}] + ...

s2 has not been assigned a constant numeric value. NIntegrate requires that all variables except the variable of integration have constant numeric values.

s2 not having a value causes further problems in the rest of your expression for c2.

URL: ,

Subject (listing for 'convex optimization problem')
Author Date Posted
convex optimization problem samaneh 01/08/13 02:41am
Re: convex optimization problem Bill Simpson 01/09/13 2:11pm
Re: convex optimization problem Bill Simpson 01/09/13 2:25pm
Re: convex optimization problem Bill Simpson 01/09/13 2:35pm
Re: Re: convex optimization problem samaneh 01/10/13 07:13am
Re: Re: Re: convex optimization problem Bill Simpson 01/11/13 2:06pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic