Thanks Jason for sharing the links. They are good. -- Shekhar
On Thursday, 29 December 2016 23:17:59 UTC+5:30, Jason Moore wrote: > > Shekar, > > Here is an example that uses sympy to let a user specify linear program > optimization problems symbolically and then it is solved numerically: > > https://github.com/biosustain/optlang > > Here is another package I wrote that does NLP for optimal control systems. > > https://github.com/csu-hmc/opty > > > Jason > moorepants.info > +01 530-601-9791 > > On Thu, Dec 29, 2016 at 6:23 AM, Shekhar Prasad Rajak < > shekharr...@gmail.com <javascript:>> wrote: > >> Hello, >> This thread is about the solving Linear/Non linear Programming problem. >> This topic is related to Optimization Technique, Operations Research. >> Linear programming (LP) (also called linear optimization) is a method to >> achieve the best >> outcome (such as maximum profit or lowest cost) in a mathematical model >> whose requirements are represented by >> linear relationships. Linear programming is a special case of >> mathematical programming (mathematical optimization). >> Currently I don't see any method to solve these kinds of problems in >> SymPy. Most of the time we use simplex method or its >> expansion to solve them. >> >> Example: >> >> Maximize z = 12x+40y >> subjected to : >> x+y<=16 >> x+3y<=36 >> x<=10 >> x>=0 >> y>=0 >> >> find x,y and maximum value of z. >> Soln : (x, y) = (0,12) and maxi value at this point is 480. >> >> Let me know if there is already some way to solve these using SymPy >> methods or it is good idea to implement it. >> >> Related links : >> Linear Programming: https://en.wikipedia.org/wiki/Linear_programming >> Simplex method: https://en.wikipedia.org/wiki/Simplex_algorithm >> Wolfram: >> http://reference.wolfram.com/language/tutorial/ConstrainedOptimizationLinearProgramming.html >> SciPy: >> https://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.linprog.html >> Other tools: >> http://stackoverflow.com/questions/10697995/linear-programming-in-python >> >> -- >> Shekhar >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sympy+un...@googlegroups.com <javascript:>. >> To post to this group, send email to sy...@googlegroups.com <javascript:> >> . >> Visit this group at https://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/53960b94-87ee-4270-bee3-97e7917a8eca%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sympy/53960b94-87ee-4270-bee3-97e7917a8eca%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/379441ef-d256-4d12-91f0-273eff515dd4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.