Skip to content

Commit

Permalink
moe cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Sep 27, 2023
1 parent 355fc79 commit d29a168
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion ortools/bop/integral_solver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include "ortools/util/fp_utils.h"
#include "ortools/util/strong_integers.h"
#include "ortools/util/time_limit.h"
// MOE:end_strip

namespace operations_research {
namespace bop {
Expand Down
8 changes: 1 addition & 7 deletions ortools/linear_solver/scip_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1122,13 +1122,7 @@ class ScipMPCallbackContext : public MPCallbackContext {

ScipConstraintHandlerForMPCallback::ScipConstraintHandlerForMPCallback(
MPCallback* mp_callback)
: ScipConstraintHandler<EmptyStruct>(
// MOE(begin-strip):
{/*name=*/"mp_solver_constraint_handler",
/*description=*/
"A single constraint handler for all MPSolver models."}
// MOE(end-strip-and-replace): ScipConstraintHandlerDescription()
),
: ScipConstraintHandler<EmptyStruct>(ScipConstraintHandlerDescription()),
mp_callback_(mp_callback) {}

std::vector<CallbackRangeConstraint>
Expand Down
5 changes: 0 additions & 5 deletions ortools/math_opt/tools/mathopt_solve_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@
// mathopt_solve --input_file model.pb --solve_parameters 'threads: 4'
// * Specify the file format:
// mathopt_solve --input_file model --format=mathopt
// MOE: begin_strip
// * Solve a MIPLIB problem:
// mathopt_solve --input_file
// /google/src/head/depot/operations_research_data/MIP_MIPLIB/miplib2017/10teams.mps.gz
// MOE: end_strip
#include <iostream>
#include <memory>
#include <optional>
Expand Down

0 comments on commit d29a168

Please sign in to comment.