Skip to content

Guides

polarobi adds four kinds of operations to polars DataFrames: adding variables, adding constraints, reading and writing attributes, and handing elements to gurobipy. Each guide covers one of them in depth.

The examples call them as grb(df).add_vars(...), after from polarobi import GurobiFrame as grb. This is the typed form of df.grb.add_vars(...); see Type Checking for why.