On Sat, 10 Apr 2021 at 01:17, brandon...@gmail.com <brandonbockl...@gmail.com> wrote: > > This almost worked for me as is. My desired dependent variables are [w, y]. > If I just pass those, then I don't get the solution for z=1. So I did two > solves: > > 1. Solve with my desired dependent variables (e.g. [w, y]) > 2. Identify the set of variables that are not in the solution (as keys or in > the values) and add those to my list of desired dependent varaibles ([x]) > 3. Solve the same set of equations again with the new minimal set of > variables ([w, x, y])
In your problem would it make more sense to have an API based around eliminating variables rather than solving for them? -- 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 on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxRk7uX8VO6-ig0rttXm7CA5a3F3nwddmeOUH6fGZ9MtsA%40mail.gmail.com.