bfgs


class PostProcessorBFGS[source]#

Bases: PostProcessor

postprocess(c, q_matrix, v_vector)[source]#

Post processing using BFGS method.

Parameters:
  • c (torch.tensor) – The values for each

  • solver. (variable of the problem in the solution found by the) –

  • q_matrix (torch.tensor) – Coefficients of the quadratic terms.

  • v_vector (torch.tensor) – Coefficients of the linear terms.

Returns:

The values for each variable of the problem

in the solution found by the solver after post-processing.

Return type:

torch.tensor