Home
last modified time | relevance | path

Searched refs:time_limit (Results 251 – 275 of 1619) sorted by last modified time

1...<<11121314151617181920>>...65

/dports/math/py-or-tools/or-tools-9.2/ortools/constraint_solver/samples/
H A Dvrp_breaks.py180 search_parameters.time_limit.FromSeconds(2)
H A Dvrp_capacity.py200 search_parameters.time_limit.FromSeconds(1)
H A Dvrp_tokens.py154 search_parameters.time_limit.FromSeconds(1)
H A Dvrp_with_time_limit.py102 search_parameters.time_limit.FromSeconds(5)
/dports/math/py-or-tools/or-tools-9.2/ortools/glop/
H A Dlp_solver.cc131 std::unique_ptr<TimeLimit> time_limit =
133 return SolveWithTimeLimit(lp, time_limit.get());
137 TimeLimit* time_limit) {
138 if (time_limit == nullptr) {
191 preprocessor.SetTimeLimit(time_limit);
214 if (!time_limit->LimitReached()) {
215 RunRevisedSimplexIfNeeded(&solution, time_limit);
224 SOLVER_LOG(&logger_, "time: ", time_limit->GetElapsedTime());
226 time_limit->GetElapsedDeterministicTime());
562 TimeLimit* time_limit) {
[all …]
H A Dlp_solver.h59 TimeLimit* time_limit);
188 TimeLimit* time_limit);
/dports/math/py-or-tools/or-tools-9.2/ortools/graph/
H A DBUILD.bazel142 "//ortools/util:time_limit",
/dports/math/py-or-tools/or-tools-9.2/ortools/gscip/
H A Dgscip_parameters.cc31 void GScipSetTimeLimit(absl::Duration time_limit, GScipParameters* parameters) { in GScipSetTimeLimit() argument
32 if (time_limit < absl::Seconds(1e20) && time_limit > absl::Duration()) { in GScipSetTimeLimit()
34 absl::ToDoubleSeconds(time_limit); in GScipSetTimeLimit()
/dports/math/py-or-tools/or-tools-9.2/ortools/linear_solver/
H A Dglop_interface.cc129 if (solver_->time_limit()) { in Solve()
130 VLOG(1) << "Setting time limit = " << solver_->time_limit() << " ms."; in Solve()
132 static_cast<double>(solver_->time_limit()) / 1000.0); in Solve()
138 std::unique_ptr<TimeLimit> time_limit = in Solve() local
140 time_limit->RegisterExternalBooleanAsLimit(&interrupt_solver_); in Solve()
142 lp_solver_.SolveWithTimeLimit(linear_program_, time_limit.get()); in Solve()
H A Dgurobi_interface.cc1185 if (solver_->time_limit() != 0) { in Solve()
1186 VLOG(1) << "Setting time limit = " << solver_->time_limit() << " ms."; in Solve()
/dports/math/py-or-tools/or-tools-9.2/examples/notebook/constraint_solver/
H A Dvrp_breaks_from_start.ipynb260 "search_parameters.time_limit.FromSeconds(2)\n",
H A Dvrp_capacity.ipynb275 "search_parameters.time_limit.FromSeconds(1)\n",
H A Dvrp_drop_nodes.ipynb288 "search_parameters.time_limit.FromSeconds(1)\n",
H A Dvrp_node_max.ipynb366 "search_parameters.time_limit.FromSeconds(5)\n",
H A Dvrp_time_windows_per_vehicles.ipynb309 "search_parameters.time_limit.FromSeconds(1)\n",
H A Dvrp_tokens.ipynb229 "search_parameters.time_limit.FromSeconds(1)\n",
H A Dvrp_with_time_limit.ipynb177 "search_parameters.time_limit.FromSeconds(5)\n",
/dports/math/py-or-tools/or-tools-9.2/examples/notebook/contrib/
H A Dsports_schedule_sat.ipynb204 " time_limit=None,\n",
215 " time_limit -- the time in minutes to allow the solver to work on the problem.\n",
499 " solver.parameters.max_time_in_seconds = time_limit\n",
525 " if status != cp_model.OPTIMAL and solver.WallTime() >= time_limit:\n",
527 " time_limit)\n",
578 " dest='time_limit',\n",
638 " args.max_home_stand, args.time_limit, cpu, args.csv,\n",
H A Dsteel.ipynb100 " '--time_limit', default=20000, type=int, help='global time limit')\n",
254 "global_limit = solver.TimeLimit(args.time_limit)\n",
H A Dsteel_lns.ipynb101 " '--time_limit', default=20000, type=int, help='global time limit')\n",
322 "global_limit = solver.TimeLimit(args.time_limit)\n",
/dports/math/py-or-tools/or-tools-9.2/examples/tests/
H A Dissue4.py18 time_limit = 2000
24 time_limit, branch_limit, failures_limit, solutions_limit, True))
/dports/math/py-or-tools/or-tools-9.2/ortools/algorithms/
H A DBUILD.bazel35 "//ortools/util:time_limit",
46 "//ortools/util:time_limit",
59 "//ortools/util:time_limit",
73 "//ortools/util:time_limit",
132 "//ortools/util:time_limit",
/dports/math/py-or-tools/or-tools-9.2/ortools/bop/
H A Dbop_portfolio.h77 TimeLimit* time_limit) override;
H A Dbop_solver.cc81 std::unique_ptr<TimeLimit> time_limit =
83 return SolveWithTimeLimit(time_limit.get());
87 CHECK(time_limit != nullptr);
99 ? InternalMultithreadSolver(time_limit)
100 : InternalMonothreadSolver(time_limit);
104 CHECK(time_limit != nullptr);
109 while (!time_limit->LimitReached()) {
139 CHECK(time_limit != nullptr);
145 std::unique_ptr<TimeLimit> time_limit =
147 return SolveWithTimeLimit(first_solution, time_limit.get());
[all …]
H A Dcomplete_optimizer.cc85 LearnedInfo* learned_info, TimeLimit* time_limit) { in Optimize() argument
88 CHECK(time_limit != nullptr); in Optimize()
99 while (!time_limit->LimitReached()) { in Optimize()
101 sat_params.set_max_time_in_seconds(time_limit->GetTimeLeft()); in Optimize()
103 time_limit->GetDeterministicTimeLeft()); in Optimize()
111 time_limit->AdvanceDeterministicTime(solver_.deterministic_time() - in Optimize()

1...<<11121314151617181920>>...65