Skip to content

Commit

Permalink
msvc: fix linear_solver/
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Jan 31, 2025
1 parent f16e288 commit 9e17f6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
6 changes: 3 additions & 3 deletions ortools/linear_solver/linear_solver.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@
#include "ortools/port/proto_utils.h"
#include "ortools/util/lazy_mutable_copy.h"

ABSL_DECLARE_FLAG(bool, linear_solver_enable_verbose_output);
ABSL_DECLARE_FLAG(bool, log_verification_errors);
ABSL_DECLARE_FLAG(bool, verify_solution);
ABSL_DECLARE_DLL_FLAG(OR_DLL, bool, linear_solver_enable_verbose_output);
ABSL_DECLARE_DLL_FLAG(OR_DLL, bool, log_verification_errors);
ABSL_DECLARE_DLL_FLAG(OR_DLL, bool, verify_solution);

namespace operations_research {

Expand Down
7 changes: 0 additions & 7 deletions ortools/linear_solver/solve.cc
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,6 @@ ABSL_FLAG(std::string, sol_file, "",
ABSL_FLAG(std::string, dump_mps, "",
"If non-empty, dumps the model in mps format there.");

ABSL_DECLARE_FLAG(bool, verify_solution); // Defined in ./linear_solver.cc
ABSL_DECLARE_FLAG(bool,
log_verification_errors); // Defined in ./linear_solver.cc
ABSL_DECLARE_FLAG(
bool,
linear_solver_enable_verbose_output); // Defined in ./linear_solver.cc

static const char kUsageStr[] =
"Run MPSolver on the given input file. Many formats are supported: \n"
" - a .mps or .mps.gz file,\n"
Expand Down

0 comments on commit 9e17f6e

Please sign in to comment.