Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Minimizing an integer value function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60868] Minimizing an integer value function
  • From: "Ingolf Dahl" <ingolf.dahl at telia.com>
  • Date: Sat, 1 Oct 2005 02:55:44 -0400 (EDT)
  • Reply-to: <ingolf.dahl at telia.com>
  • Sender: owner-wri-mathgroup at wolfram.com

To MathGroup,

Suppose we have a function that only takes integer values, but anyway is
quite smooth

e.g. 

func1[x_, y_, z_] := Floor[(x - 2.1)^2 + (y - 3.21)^2 + (z - 4.3)^4 + 54.9]

or

func2[x_, y_, z_] := Floor[(x - 2)^2 + (y - 30000)^2 + (z - 4)^4 + 54.8]

What is the best way to minimize such a function, using Mathematica? 

Ingolf Dahl

Sweden




  • Next by Date: Finding length in recursive definition?
  • Next by thread: Re: Minimizing an integer value function