![]() Does it mean that there exists no solution for the given inequality constraints? TypeError: The computation had not completed because of the undecidable set membership is found in every candidates. ![]() Other.append(_solve_inequality(Relational(expr, 0, rel), gen))įile "/path/to/venv/lib/python3.9/site-packages/sympy/solvers/inequalities.py", line 829, in _solve_inequalityįile "/path/to/venv/lib/python3.9/site-packages/sympy/solvers/inequalities.py", line 500, in solve_univariate_inequalityįile "/path/to/venv/lib/python3.9/site-packages/sympy/calculus/util.py", line 208, in function_rangeįile "/path/to/venv/lib/python3.9/site-packages/sympy/utilities/iterables.py", line 2881, in roundrobinįile "/path/to/venv/lib/python3.9/site-packages/sympy/sets/sets.py", line 1439, in _iter_ Rv = _reduce_inequalities(inequalities, symbols)įile "/path/to/venv/lib/python3.9/site-packages/sympy/solvers/inequalities.py", line 912, in _reduce_inequalities ![]() Return reduce_inequalities(f, symbols=symbols)įile "/path/to/venv/lib/python3.9/site-packages/sympy/solvers/inequalities.py", line 996, in reduce_inequalities There exist additional constraints which apply to the various symbols, namely: 0 įile "/path/to/venv/lib/python3.9/site-packages/sympy/solvers/solvers.py", line 920, in solve I'm trying to solve the following equation for variable x (in dependence on other symbols b, c, d): from sympy import symbols, sin, cos, solve, solveset, Sī, c, d, x = symbols('b c d x', real=True)Įxpr = sin(x)*sin(c - 2*d - x) - sin(2*b - 2*d - x)*sin(c - x) # find `x` such that `expr = 0`
0 Comments
Leave a Reply. |