Re: [sympy] Solving Linear Programming Problem in SymPy

2023-09-05 Thread Chris Smith
There are now functions for doing linear programming in the `simplex.py`. Here is a similar question at SO with answer: https://stackoverflow.com/a/77045152/1089161 /c On Tuesday, September 5, 2023 at 2:40:49 AM UTC-5 geo...@gmail.com wrote: > Does Sympy have a backend to interface with Pyomo?

[sympy] need eyes on PR#25614

2023-09-05 Thread Chris Smith
If this PR is added, number comparisons will be consistent with expr behavior in terms of equality: `x**2 != x**2.0` and (new change) `Integer(2) != Float(2)`. In addition there will no longer be a `Float(0)` -- it will collapse to `S(0)`. I really need input on whether this is going to work, e

[sympy] viewing source code that shows how sympy.inverse_laplace_transform is calculated

2023-09-05 Thread Stephen Salser
I would like to understand how sympy.inverse_laplace_transform is evaluated, so I attempted to view the source code. When execute the command: print(inspect.getsource(sympy.inverse_laplace_transform)) I see the following source code which looks like is is almost all explanation. ( I don

[sympy] sympy - mechanics & pydy - constraints question

2023-09-05 Thread Jan
I am in the process of teaching myself how to use the sympy mechanics package for multi-body modelling with the addition of the pydy package. I am running into an issue when using the generate_ode_function tool in pydy and am looking for a bit of guidance as to what is going on. An example of

Re: [sympy] Solving Linear Programming Problem in SymPy

2023-09-05 Thread Donaldson Tan
Does Sympy have a backend to interface with Pyomo? On Sunday, 22 January 2017 at 12:37:40 UTC+8 shekharr...@gmail.com wrote: > Thanks Denis. > > I personally feel that SymPy must have similar functions which uses(wrote > with) internal methods of SymPy. > > -- > Shekhar > > On Wednesday, 18 J