Loading solver…

CP-SAT - Model Playground

Problem: load a user-provided CP-SAT model, validate it, and solve it with editable search parameters.

Paste a JSON-shaped CpModelProto, optionally edit SAT parameters, then validate or solve it in the browser.

Model

  • The model input is raw JSON shaped like a CP-SAT CpModelProto.
  • The parameter input is JSON shaped like SatParameters.
  • Validate checks whether the protobuf model is structurally acceptable before solving.
  • Solve sends the same encoded request through the selected executor.

Model JSON

SAT Parameters JSON

Result


        

Events


      
Show code