File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
cpp/src/linear_programming Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -927,17 +927,6 @@ optimization_problem_solution_t<i_t, f_t> solve_lp(
927927 settings.dual_postsolve ,
928928 op_problem.get_handle_ptr ()->get_stream ());
929929
930- if (!settings.dual_postsolve ) {
931- thrust::fill (rmm::exec_policy (op_problem.get_handle_ptr ()->get_stream ()),
932- dual_solution.data (),
933- dual_solution.data () + dual_solution.size (),
934- std::numeric_limits<f_t >::signaling_NaN ());
935- thrust::fill (rmm::exec_policy (op_problem.get_handle_ptr ()->get_stream ()),
936- reduced_costs.data (),
937- reduced_costs.data () + reduced_costs.size (),
938- std::numeric_limits<f_t >::signaling_NaN ());
939- }
940-
941930 auto full_stats = solution.get_additional_termination_information ();
942931
943932 // Create a new solution with the full problem solution
You can’t perform that action at this time.
0 commit comments