Template Function proxsuite::proxqp::dense::linesearch::primal_dual_derivative_results

Function Documentation

template<typename T>
auto proxsuite::proxqp::dense::linesearch::primal_dual_derivative_results(const Model<T> &qpmodel, Results<T> &qpresults, Workspace<T> &qpwork, isize n_constraints, T alpha) -> PrimalDualDerivativeResult<T>

Stores first derivative and coefficient of the univariate second order polynomial merit function to be canceled by the exact primal-dual linesearch.

Parameters:
  • a – second order polynomial coefficient of the merit function used in the linesearch.

  • b – first order polynomial coefficient of the merit function used in the linesearch.

  • grad – derivative of the merit function used in the linesearch.