Skip to content

Announcement: PySCIPOpt in the browser (WASM) #1226

Closed

Description

@AntoinePrv

Hello,

We've build PySCIPOpt to run in the browser (thanks @mkoeppe that contributed libscip), that is without server. A no install setup where Python and SCIP run inside a web page, on your machine, in WASM.

I've built a notebook with the examples from this repo (and added some interactions).

🚀 https://notebook.link/@AntoinePrv/example-milp

This type of resources could also be added to documentation for people to try it out.

There are some limitations with WASM / browser but I was pleasantly surprised to find out that this runs pretty smoothly!

The builds are part of emscripten-forge, a conda-based distribution for the browser, available here

https://github.com/emscripten-forge/recipes/tree/main/recipes/recipes_emscripten/pyscipopt

Hope it can help people use and teach with SCIP!

Activity

  1. Joao-Dionisio commented on Jun 11, 2026

    @Joao-Dionisio
    Member

    Thank you @AntoinePrv ! This should definitely be added to the documentation and the README 😄

  2. AntoinePrv commented on Jun 11, 2026

    @AntoinePrv
    ContributorAuthor

    Forgot to mention, this is the repo used by notebook.link to generate the bundle

    https://github.com/QuantStack/notebook-link-example-milp

    All the config live in .nblink/ (everything in pixi.toml was for local dev).
    I do recommend to use mambajs to lokc the dependencies:

    mambajs create-lock .nblink/environment.yml .nblink/nblink-lock.json
    
  3. mkoeppe commented on Jun 11, 2026

    @mkoeppe
    Contributor

    Possible next steps for SCIP on Wasm:

  4. locked and limited conversation to collaborators on Jul 8, 2026
  5. converted this issue into a discussion #1232 on Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions