Dear Luis, 

 

I did not doubt your statement.

Just due to my limited python knowledge I simply cannot see what you changed.

 

Good luck!

 

Peter

 

From: sympy@googlegroups.com <sympy@googlegroups.com> On Behalf Of LUIS ANGEL 
MELENDEZ CHAVERO
Sent: Wednesday, April 2, 2025 1:04 PM
To: sympy <sympy@googlegroups.com>
Subject: Re: [sympy] Efficient Equations of Motion Generation

 

 

Hi Peter,

Thank you very much for your reply!

To be honest, I'm still learning Python and SymPy. When I generated a cProfile 
report, I got the following results: 
https://github.com/LuisOfL/GSoC2025-SymPy/blob/main/cProfile.txt. It’s worth 
noting that I may have misunderstood the 25% — it refers to a specific function 
call, not the overall class.

In the link I shared with you, the line
1 0.000 0.000 0.380 0.380 lagrange.py:174(form_lagranges_equations)
was reduced from ~0.380 s to ~0.285 s in the cProfile output.

On Tuesday, April 1, 2025 at 10:27:11 PM UTC-6 peter.st...@gmail.com 
<mailto:peter.st...@gmail.com>  wrote:

Dear Luis,

 

likely my python / sympy knowledge is not good enough, but I do not see any 
difference in 27870 between what was and what you did.

Yet you get 25% speed improvement.

 

Best regards,

 

Peter

 

From: sy...@googlegroups.com <mailto:sy...@googlegroups.com>  
<sy...@googlegroups.com <mailto:sy...@googlegroups.com> > On Behalf Of LUIS 
ANGEL MELENDEZ CHAVERO
Sent: Tuesday, April 1, 2025 11:02 PM
To: sympy <sy...@googlegroups.com <mailto:sy...@googlegroups.com> >
Subject: Re: [sympy] Efficient Equations of Motion Generation

 

Hi,

I hope you're doing well.

I just wanted to follow up on my GSoC 2025 proposal for the SymPy project 
(Efficient Equations of Motion Generation). Based on your previous feedback, 
I’ve made some improvements to both the proposal and the contribution itself.

I ran some profiling to identify bottlenecks, made a focused optimization in 
lagrange.py, and also put together a Jupyter notebook with the results.

Here’s the updated patch:
🔗 https://github.com/sympy/sympy/pull/27870

If you have a moment to take another look, I’d really appreciate any additional 
thoughts or suggestions—especially if there’s anything else I should refine or 
explore further.

Thanks again for your time and support!

Best,
Luis

 

 

On Sunday, March 30, 2025 at 11:38:54 PM UTC-6 moore...@gmail.com 
<mailto:moore...@gmail.com>  wrote:

Dear Luis,

 

Thank you for your interest. I scanned your PR and proposal. Unfortunately, 
these ideas are not well aligned with the needs of the SymPy Mechanics package. 
I suggest doing more research on what the issues are regarding efficient 
equation generation and reworking your proposal. To improve the generation you 
would need to profile the code in slow examples and find ways to speed them up. 
Using simplification routines will most likely always slow them down.

 

Jason

moorepants.info <http://moorepants.info> 
+01 530-601-9791 <tel:(530)%20601-9791> 

 

 

On Mon, Mar 31, 2025 at 7:34 AM LUIS ANGEL MELENDEZ CHAVERO 
<dreaml...@gmail.com <mailto:dreaml...@gmail.com> > wrote:

Hello everyone,

I'm applying for GSoC 2025 with SymPy and would like to share my draft proposal 
for feedback.

Project: Efficient Generation of Equations of Motion
GitHub Notebook: https://github.com/LuisOfL/GSoC2025-SymPy/blob/main/GSoC.ipynb
Pull Request:   <https://github.com/sympy/sympy/pull/27858> 
https://github.com/sympy/sympy/pull/27858

I welcome any feedback to improve my proposal before I officially submit it.

Thanks in advance! 

-- 
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 <mailto:sympy+un...@googlegroups.com> .
To view this discussion visit 
https://groups.google.com/d/msgid/sympy/4ac5826c-841a-4e41-9751-6f7828aa2ad3n%40googlegroups.com
 
<https://groups.google.com/d/msgid/sympy/4ac5826c-841a-4e41-9751-6f7828aa2ad3n%40googlegroups.com?utm_medium=email&utm_source=footer>
 .

-- 
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 <mailto:sympy+un...@googlegroups.com> .

To view this discussion visit 
https://groups.google.com/d/msgid/sympy/a4599617-f8e8-471d-9990-8015dbad05f8n%40googlegroups.com
 
<https://groups.google.com/d/msgid/sympy/a4599617-f8e8-471d-9990-8015dbad05f8n%40googlegroups.com?utm_medium=email&utm_source=footer>
 .

-- 
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 
<mailto:sympy+unsubscr...@googlegroups.com> .
To view this discussion visit 
https://groups.google.com/d/msgid/sympy/532a2586-3074-4ffe-beac-044904cfb7e0n%40googlegroups.com
 
<https://groups.google.com/d/msgid/sympy/532a2586-3074-4ffe-beac-044904cfb7e0n%40googlegroups.com?utm_medium=email&utm_source=footer>
 .

-- 
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 view this discussion visit 
https://groups.google.com/d/msgid/sympy/00ad01dba3e1%24bd3aad70%2437b00850%24%40gmail.com.

Reply via email to