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