Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Maximize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91479] Re: Maximize
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 23 Aug 2008 01:42:03 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <g8lpbu$ikc$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

a) you mean Equal[] instead of Set[]

Maximize[{g + (1 - g)*x - (g/2)*x^2 - (g/2)*v,
   x == (a/c) + sqrt ((d/c)*(v - 1/c))}, x]

b) that is nonsense because you have one equation
    for x, you can insert this into your objective
    function and you get a constant with respect to
    x. So there is nothing to minimize

Regards
   Jens

Gregory Lypny wrote:
> Not sure why this won't work.  I'm trying to maximize with respect to  
> x subject to a constraint.  I get an error message saying that the  
> constraint is not a valid variable.
> 
> Maximize[
> g + (1-g)*x -(g/2)*x^2 - (g/2)*v,
>   x = (a/c) + sqrt((d/c)*(v - 1/c)),
> x
> ]
> 


  • Prev by Date: Re: Maximize
  • Next by Date: Re: Maximize
  • Previous by thread: Re: Maximize
  • Next by thread: Re: Maximize