Pyscipopt

Latest version: v5.0.0

Safety actively analyzes 629765 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

3.0.4

Added
- add more SCIP functions: `getNTotalNodes`, `getNIntVars`, `getNBinVars`

Fixed
- `getTransformedVar` now uses `SCIPgetTransformedVar` instead of `SCIPtransformVar` which captures the variable

3.0.3

Added
- add parameter genericnames to Model.writeProblem() to allow for generic variable and constraint names

Fixed
- strip quotes from SCIPOPTDIR path variable that might confuse Windows systems

3.0.2

Added
- allow creation of implicit integer variables
- make some more SCIP functionality available

Fixed
- fix reference counters for Python constraints

3.0.1

Added
- expose even more SCIP functionality in `scip.pxd`

Changed
- `Model.from_ptr` and `Model.to_ptr` use a `PyCapsule` to exchange the SCIP pointer
rather than an integer.
- mark getDualMultiplier() as deprecated, only getDualSolLinear() is supposed to be used to get duals of constraints

Removed
* removed `__div__` from Expr and GenExpr to make it compatible with cython 0.29.20

3.0.0

Added
- add Model.getParams that returns a dict mapping all parameter names to their values
- add Model.setParams to set multiple parameters at once using a dict
- Add Model.from_ptr and Model.to_ptr to interface with SCIP* managed outside of PySCIPOpt
- add NULL pointer checks to all Python wrapper classes
- add Event.getRow() and Row.name
- expose domain changes, bound changes, branching decisions, added constraints for nodes
- define Python object identity based on underlying SCIP object pointers, so that e.g. rows and columns can be added to sets, and testing for equality is consistent over time.
- add Row.isRemovable and Row.getOrigintype
- add Model.applyCutsProbing and Model.propagateProbing
- add Model.separateSol
- add methods to work with nonlinear rows
- adds new "threadsafe" parameter to the PyBendersCopy member function. Also, the "threadsafe" parameter can be passed
when creating a Model instance
- adds the boolean return options of "infeasible" and "auxviol" to the Benders.benderspresubsolve function. "infeasible"
indicates that the input solution induces an infeasible instance of at least one Benders' subproblems. "auxviol"
indicates that the objective value of at least on Benders' subproblem is greater than the auxiliary variable value.
- adds chgVarUbProbing and chgVarLbProbing to change a variables upper or lower bound during probing mode.

Changed
- Node.getParent() returns None if the node has no parent
- remove Python 2.7 support
- fix documentation errors
- setupBendersSubproblem now requires a checktype input. This input indicates the reason for solving the Benders'
subproblems, either enforcing the LP, relaxation or pseudo solution (LP, RELAX or PSEUDO) or checking a candidate
primal feasible solution (CHECK).

2.2.3

Added
- expose even more SCIP functionality in `scip.pxd`

Changed
- move the main Python class declarations into scip.pxd; this makes it possible to write custom `pyx` extensions.

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.