polish.h 434 B

12345678910111213141516171819202122232425
  1. /* Solution polish based on assuming the active set */
  2. #ifndef POLISH_H
  3. # define POLISH_H
  4. # ifdef __cplusplus
  5. extern "C" {
  6. # endif // ifdef __cplusplus
  7. # include "types.h"
  8. /**
  9. * Solution polish: Solve equality constrained QP with assumed active
  10. *constraints
  11. * @param work Workspace
  12. * @return Exitflag
  13. */
  14. c_int polish(OSQPWorkspace *work);
  15. # ifdef __cplusplus
  16. }
  17. # endif // ifdef __cplusplus
  18. #endif // ifndef POLISH_H