Loading solver…

PDLP — Import a model

Problem: import a linear or diagonal quadratic model and solve it with PDLP.

Paste a model or choose a file. Switching formats loads the same sample in the selected text format. For binary protobuf models, choose a file.

Model

  • Paste a model or choose a file, then solve it with PDLP.
  • The sample chooses x = 4 and has an objective value of 17.
  • The result lists variable values and the solver’s stopping status.

Solution

Run the solver to view the solution.
Solve log
Show code