Skip to content

Commit

Permalink
solvers: Start the rename transition for bazel labels (RobotLocomotio…
Browse files Browse the repository at this point in the history
…n#11568)

The target named ":mathematical_program" should be just mathematical_program.h
and its cc file, but historically has also depended on all of the external
solvers.  We'll deprecate the name (offering ":mathematical_program_lite" in
the meantime) to allow for a smooth transition.
  • Loading branch information
jwnimmer-tri authored Jun 5, 2019
1 parent f9e3408 commit 0a8048e
Show file tree
Hide file tree
Showing 14 changed files with 145 additions and 96 deletions.
3 changes: 2 additions & 1 deletion attic/manipulation/dev/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ drake_cc_library(
"//attic/multibody:rigid_body_tree",
"//attic/systems/controllers:control_util",
"//math:geometric_transform",
"//solvers:mathematical_program",
"//solvers:gurobi_solver",
"//solvers:mathematical_program_lite",
"//systems/framework:leaf_system",
],
)
Expand Down
4 changes: 2 additions & 2 deletions attic/multibody/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ drake_cc_library(
],
deps = [
":rigid_body_tree",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//solvers:mixed_integer_rotation_constraint",
"//solvers:rotation_constraint",
],
Expand Down Expand Up @@ -127,7 +127,7 @@ drake_cc_library(
":rigid_body_tree",
"//common:unused",
"//math:gradient",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//solvers:solve",
],
)
Expand Down
2 changes: 1 addition & 1 deletion attic/multibody/rigid_body_plant/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ drake_cc_library(
"//common:essential",
"//math:orthonormal_basis",
"//multibody/constraint:constraint_solver",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//systems/framework",
],
)
Expand Down
2 changes: 1 addition & 1 deletion attic/perception/estimators/dev/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ drake_cc_googletest(
"//common:find_resource",
"//lcmtypes:viewer",
"//math:geometric_transform",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//solvers:solve",
],
)
Expand Down
3 changes: 2 additions & 1 deletion attic/systems/controllers/qp_inverse_dynamics/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ drake_cc_library(
"//attic/multibody:rigid_body_tree",
"//common:essential",
"//math:gradient",
"//solvers:mathematical_program",
"//solvers:gurobi_solver",
"//solvers:mathematical_program_lite",
],
)

Expand Down
2 changes: 1 addition & 1 deletion attic/systems/estimators/dev/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ drake_cc_test(
"//attic/multibody/parsers",
"//common:essential",
"//common:find_resource",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//solvers:solve",
"@lcm",
"@lcmtypes_bot2_core",
Expand Down
4 changes: 2 additions & 2 deletions examples/cubic_polynomial/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ drake_cc_binary(
add_test_rule = 1,
tags = mosek_test_tags(),
deps = [
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//solvers:solve",
"//systems/framework:vector_system",
],
Expand All @@ -23,7 +23,7 @@ drake_cc_binary(
tags = mosek_test_tags(),
deps = [
"//common/proto:call_python",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//solvers:mosek_solver",
"//solvers:solve",
"//systems/framework:vector_system",
Expand Down
2 changes: 1 addition & 1 deletion examples/rod2d/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ drake_cc_library(
":rod2d_state_vector",
"//common:essential",
"//multibody/constraint",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//systems/framework:leaf_system",
"//systems/rendering:pose_vector",
],
Expand Down
3 changes: 2 additions & 1 deletion manipulation/planner/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ drake_cc_library(
hdrs = ["differential_inverse_kinematics.h"],
deps = [
"//multibody/plant",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//solvers:osqp_solver",
],
)

Expand Down
4 changes: 2 additions & 2 deletions multibody/optimization/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ drake_cc_library(
"//multibody/plant",
"//solvers:binding",
"//solvers:constraint",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
],
)

Expand Down Expand Up @@ -117,7 +117,7 @@ drake_cc_googletest(
":static_equilibrium_constraint",
"//common/test_utilities:eigen_matrix_compare",
"//math:compute_numerical_gradient",
"//solvers:mathematical_program",
"//solvers:mathematical_program_lite",
"//solvers:solve",
],
)
Expand Down
Loading

0 comments on commit 0a8048e

Please sign in to comment.