MathGroup Archive 2010

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

Search the Archive

NMinimize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg113390] NMinimize
  • From: Mala Jozsef <mala_jozsef at freemail.hu>
  • Date: Wed, 27 Oct 2010 05:13:47 -0400 (EDT)

Dear Group, NMinimize sometimes gives a[39,3]->1.0000000000000178` as a solution instead of 1 if I deal with large scale linear programming. Moreover, Mathematica sometimes gives a "solution" when there is no feasible one. Here is an example: In[207]:= NMinimize[{1,x+y>=0,x+y<=-1,Element[x,Integers]},{x,y}]
Out[207]= {1.,{x->-1,y->0.}} So, I would like to check a solution with a given accuracy, say, some digits. Is there any "almost built in" or easy solution? Thanks in advance. Jozsef



  • Prev by Date: Re: How to combine Mathematica graphics and Python code?
  • Next by Date: Table for 3D points
  • Previous by thread: How to find the eigenvalues/eigenfunctions of a differential linear
  • Next by thread: Table for 3D points