mostly reformat
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include "absl/memory/memory.h"
|
||||
#include "absl/strings/match.h"
|
||||
#include "absl/strings/str_format.h"
|
||||
#include "absl/strings/str_join.h"
|
||||
#include "ortools/base/commandlineflags.h"
|
||||
#include "ortools/base/integral_types.h"
|
||||
#include "ortools/base/timer.h"
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
"""Helper macro to compile and test code samples."""
|
||||
|
||||
def code_sample_cc(name):
|
||||
native.cc_binary(
|
||||
name = name,
|
||||
srcs = [name + ".cc"],
|
||||
deps = [
|
||||
"//ortools/base",
|
||||
"//ortools/glop:lp_solver",
|
||||
"//ortools/lp_data",
|
||||
],
|
||||
)
|
||||
native.cc_binary(
|
||||
name = name,
|
||||
srcs = [name + ".cc"],
|
||||
deps = [
|
||||
"//ortools/base",
|
||||
"//ortools/glop:lp_solver",
|
||||
"//ortools/lp_data",
|
||||
],
|
||||
)
|
||||
|
||||
native.cc_test(
|
||||
name = name + "_test",
|
||||
size = "small",
|
||||
srcs = [name + ".cc"],
|
||||
deps = [
|
||||
":" + name,
|
||||
"//ortools/base",
|
||||
"//ortools/glop:lp_solver",
|
||||
"//ortools/lp_data",
|
||||
],
|
||||
)
|
||||
native.cc_test(
|
||||
name = name+"_test",
|
||||
size = "small",
|
||||
srcs = [name + ".cc"],
|
||||
deps = [
|
||||
":"+name,
|
||||
"//ortools/base",
|
||||
"//ortools/glop:lp_solver",
|
||||
"//ortools/lp_data",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -681,6 +681,8 @@ extern std::function<int(GRBmodel *model, int i)> GRBgettuneresult;
|
||||
extern std::function<int(GRBmodel *model, int i, char **logP)> GRBgettunelog;
|
||||
extern std::function<int(GRBmodel *model, GRBmodel *ignore, GRBmodel *hint)> GRBtunemodeladv;
|
||||
extern std::function<int(GRBmodel *model)> GRBsync;
|
||||
|
||||
|
||||
} // namespace operations_research
|
||||
|
||||
#endif // OR_TOOLS_GUROBI_ENVIRONMENT_H_
|
||||
|
||||
Reference in New Issue
Block a user