Home
last modified time | relevance | path

Searched refs:solution_delta (Results 1 – 6 of 6) sorted by relevance

/dports/math/py-or-tools/or-tools-9.2/ortools/constraint_solver/samples/
H A Dsimple_ls_program.cc102 const Assignment::IntContainer& solution_delta = delta->IntVarContainer(); in Accept() local
103 const int solution_delta_size = solution_delta.Size(); in Accept()
123 if (!solution_delta.Element(i).Activated()) { in Accept()
136 FindIndex(solution_delta.Element(index).Var(), &touched_var); in Accept()
138 const int64_t new_value = solution_delta.Element(index).Value(); in Accept()
/dports/math/py-or-tools/or-tools-9.2/examples/dotnet/
H A Dcsls_api.cs99 AssignmentIntContainer solution_delta = delta.IntVarContainer(); in Accept()
100 int solution_delta_size = solution_delta.Size(); in Accept()
104 if (!solution_delta.Element(i).Activated()) in Accept()
112 int touched_var = Index(solution_delta.Element(index).Var()); in Accept()
114 long new_value = solution_delta.Element(index).Value(); in Accept()
/dports/math/py-or-tools/or-tools-9.2/examples/contrib/
H A Dpyls_api.py60 solution_delta = delta.IntVarContainer()
61 solution_delta_size = solution_delta.Size()
63 if not solution_delta.Element(i).Activated():
68 element = solution_delta.Element(i)
/dports/math/py-or-tools/or-tools-9.2/examples/cpp/
H A Ddobble_ls.cc478 const Assignment::IntContainer& solution_delta = delta->IntVarContainer(); in Accept() local
479 const int solution_delta_size = solution_delta.Size(); in Accept()
499 if (!solution_delta.Element(i).Activated()) { in Accept()
512 ComputeTouchedCards(solution_delta, &touched_cards); in Accept()
571 void ComputeTouchedCards(const Assignment::IntContainer& solution_delta, in ComputeTouchedCards() argument
574 const int solution_delta_size = solution_delta.Size(); in ComputeTouchedCards()
578 FindIndex(solution_delta.Element(index).Var(), &touched_var); in ComputeTouchedCards()
582 const int new_value = solution_delta.Element(index).Value(); in ComputeTouchedCards()
/dports/math/py-or-tools/or-tools-9.2/examples/notebook/contrib/
H A Dpyls_api.ipynb136 " solution_delta = delta.IntVarContainer()\n",
137 " solution_delta_size = solution_delta.Size()\n",
139 " if not solution_delta.Element(i).Activated():\n",
144 " element = solution_delta.Element(i)\n",
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/examples/step-44/
H A Dstep-44.cc900 void solve_nonlinear_timestep(BlockVector<double> &solution_delta);
907 get_total_solution(const BlockVector<double> &solution_delta) const;
1131 BlockVector<double> solution_delta(dofs_per_block); in run() local
1134 solution_delta = 0.0; in run()
1139 solve_nonlinear_timestep(solution_delta); in run()
1140 solution_n += solution_delta; in run()
1677 get_total_solution(solution_delta)); in update_qph_incremental()
1821 solution_delta += newton_update; in solve_nonlinear_timestep()
1822 update_qph_incremental(solution_delta); in solve_nonlinear_timestep()
2018 const BlockVector<double> &solution_delta) const in get_total_solution()
[all …]