TOPP3

TOPP3-related Python APIs follow the Rust solver-module layout.

LP

TOPP3 linear-objective approximation backed by Clarabel.

copp_py.solver.topp3_lp.Problem

alias of Topp3Problem

copp_py.solver.topp3_lp.Options

alias of ClarabelOptions

copp_py.solver.topp3_lp.Profile

alias of Profile3rd

copp_py.solver.topp3_lp.Result

alias of Copp3ClarabelResult

copp_py.solver.topp3_lp.solve(problem, options=None)

Solve a TOPP3 problem with the Clarabel LP backend.

Parameters:
  • problem (Topp3Problem)

  • options (ClarabelOptions | None)

Return type:

Profile3rd

copp_py.solver.topp3_lp.solve_expert(problem, options=None)

Solve TOPP3-LP and return raw Clarabel diagnostics.

Parameters:
  • problem (Topp3Problem)

  • options (ClarabelOptions | None)

Return type:

Copp3ClarabelResult

SOCP

TOPP3 SOCP solver backed by Clarabel.

copp_py.solver.topp3_socp.Problem

alias of Topp3Problem

copp_py.solver.topp3_socp.Options

alias of ClarabelOptions

copp_py.solver.topp3_socp.Profile

alias of Profile3rd

copp_py.solver.topp3_socp.Result

alias of Copp3ClarabelResult

copp_py.solver.topp3_socp.solve(problem, options=None)

Solve a TOPP3 problem with the Clarabel SOCP backend.

Parameters:
  • problem (Topp3Problem)

  • options (ClarabelOptions | None)

Return type:

Profile3rd

copp_py.solver.topp3_socp.solve_expert(problem, options=None)

Solve TOPP3-SOCP and return raw Clarabel diagnostics.

Parameters:
  • problem (Topp3Problem)

  • options (ClarabelOptions | None)

Return type:

Copp3ClarabelResult