JijModeling is a Python library for mathematical modeling of optimization problems, with a focus on combinatorial optimization. It provides an intuitive API to define decision variables, constraints, and objective functions, and interfaces with solvers like JijZept. Current version 2.4.1, requires Python >=3.11, <4. Released regularly.
pip install jijmodelingNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Define a simple binary optimization problem with variables, objective, and constraint.
Migrate from `jm.Model` to `jm.Problem`. Use `jm.BinaryVar` instead of `jm.Binary`. Check migration guide.
Always use `jm.Constraint` for comparisons. Do not use `if x[0] == 1:` in code logic.
Replace `jm.pw(...)` with `problem.add_piecewise(...)` or reformulate.
Run `pip install jijmodeling` in the correct Python environment (Python >=3.11).
Use `jm.Problem` instead of `jm.Model`.
Wrap comparisons in `jm.Constraint('name', expr)` or use `jm.Constraint(expr)`.No dependency data recorded yet.