MathGroup Archive 2010

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

Search the Archive

Re: Minimize - What am I doing worng?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113405] Re: Minimize - What am I doing worng?
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Wed, 27 Oct 2010 05:16:37 -0400 (EDT)

Ed,

Mu should not be in double curly brackets (not even in single ones). You shouldn't use _1 and _2 as you did. _ is a special character in Mathematica (signifies a pattern). Use ctrl-underscore for subscripts.

The following is a sanitized version of your input which works for me

Minimize[\[Mu], {\[Mu] >==
    Abs[-0.485532 Subscript[\[Lambda], 1] -
      0.485801 Subscript[\[Lambda], 2] + 0.4858] && \[Mu] >==
    Abs[-0.514468 Subscript[\[Lambda], 1] -
      0.514199 Subscript[\[Lambda], 2] + 0.5142] &&
   Subscript[\[Lambda], 1] + Subscript[\[Lambda], 2] ==== 1 &&
   Subscript[\[Lambda], 1] >== 0 &&
   Subscript[\[Lambda], 2] >== 0 && \[Mu] >== 0}, {\[Mu],
  Subscript[\[Lambda], 1], Subscript[\[Lambda], 2]}]

Cheers -- Sjoerd

-----Original Message-----
From: Eduardo M. A. M.Mendes [mailto:emammendes at gmail.com]
Sent: Tuesday 26 October 2010 23:38
To: 'Sjoerd C. de Vries'
Subject: [mg113405] RE: Minimize - What am I doing worng?

Here is the command please let me know if you can see it

Minimize[{{=CE=BC},{=CE=BC=E2=89=A5Abs[-0.485532=CE=BB_1-0.485801=CE=BB_2+0=
.4858]&&=CE=BC=E2=89=A5Abs[-0.514468=CE=BB_1-0.514199=CE=BB_2+0.5142]&&=CE=
=BB_1+=CE=BB_2====1&&=CE=BB_1=E2=89=A50&&=CE=BB_2=E2=89=A50&&=CE=BC=E2=89=
=A50}},{=CE=BC,=CE=BB_1,=CE=BB_2}]

Ed


-----Original Message-----
From: Sjoerd C. de Vries [mailto:sjoerd.c.devries at gmail.com]
Sent: Tuesday, October 26, 2010 6:54 PM
To: 'Eduardo M. A. M.Mendes'
Subject: [mg113405] RE: Minimize - What am I doing worng?

Copy as text from the Edit menu usually works. Sometimes pasting the
clipboard to an ascii editor such as Notepad and copying back gets rid of
ascii problems so that the clipboard is clean for a copy to your newsreader=


  • Prev by Date: ListPlot3D[] - rather slow?
  • Next by Date: Re: := vs = in some function definitions
  • Previous by thread: Re: Minimize - What am I doing worng?
  • Next by thread: RE: Minimize - What am I doing worng?