drake
drake copied to clipboard
this trivial linear program causes a core dump in CLP
from pydrake.solvers.mathematicalprogram import MathematicalProgram, Solve
prog = MathematicalProgram()
J = prog.NewContinuousVariables(2, "J")
prog.AddLinearCost(J[0] + J[1])
result = Solve(prog)
both on deepnote and my local machine i get a core dump.
russt@RussPuget:~/underactuated$ python3 test.py
free(): invalid next size (fast)
Aborted (core dumped)