MathGroup Archive 2005

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

Search the Archive

NMaximise Problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57843] NMaximise Problem
  • From: "Roberts, Glenn (Treasury)" <GlennRoberts at hbosts.com>
  • Date: Fri, 10 Jun 2005 02:29:07 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

got this problem with NMaximise if anyone can help:

trying to maximise a function

functa = {a,b,c,d,e,f,g,h,i,j,k,l,m,n,o}
functb =
{-2.6,-2.9,1.4,5.9,8.3,8.6,7.3,4.7,0.6,-0.7,-2.6,-4.1,-4.5,-0.8,-1.2}
functc = Total[functa*functb]

NMaximise[functc,
		functc * 100000,
		Max[Abs[functa]]*10000,
		{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o}]


the thing is that i want to put an additional constraint of ONLY 4 elements
of functa or non-zero - thanks in advance for any help - glenn 




  • Prev by Date: "expanding a list"
  • Next by Date: Re: string to a special list
  • Previous by thread: Re: "expanding a list"
  • Next by thread: Re: (suggestion to Wolfram)