This post contains instructions to users about how to update their code to the new MathematicalProgram APIs.
We have deprecated the method MathematicalProgram::Solve()
(non-const), because it stores the results back into MathematicalProgram (not threadsafe) and because it induces a dependency cycle (program-uses-solvers and solvers-use-program).
Code that previously looked like this:
#include "drake/solvers/mathematical_program.h"