34 model.mutable_variables()->clear_names();
35 model.mutable_linear_constraints()->clear_names();
36 RemoveMapNames(*
model.mutable_auxiliary_objectives());
37 RemoveMapNames(*
model.mutable_quadratic_constraints());
38 RemoveMapNames(*
model.mutable_second_order_cone_constraints());
39 RemoveMapNames(*
model.mutable_sos1_constraints());
40 RemoveMapNames(*
model.mutable_sos2_constraints());
41 RemoveMapNames(*
model.mutable_indicator_constraints());
45 update.mutable_new_variables()->clear_names();
46 update.mutable_new_linear_constraints()->clear_names();
48 *update.mutable_auxiliary_objectives_updates()->mutable_new_objectives());
49 RemoveMapNames(*update.mutable_quadratic_constraint_updates()
50 ->mutable_new_constraints());
51 RemoveMapNames(*update.mutable_second_order_cone_constraint_updates()
52 ->mutable_new_constraints());
54 *update.mutable_sos1_constraint_updates()->mutable_new_constraints());
56 *update.mutable_sos2_constraint_updates()->mutable_new_constraints());
57 RemoveMapNames(*update.mutable_indicator_constraint_updates()
58 ->mutable_new_constraints());