PySCIPOpt  4.3.0
Python Interface for the SCIP Optimization Suite
mkp.py File Reference

model for the multi-constrained knapsack problem More...

Go to the source code of this file.

Namespaces

 mkp
 

Functions

def example ()
 
def mkp (I, J, v, a, b)
 

Variables

 a
 
 b
 
int EPS = 1.e-6
 
 I
 
 J
 
def model = mkp(I,J,v,a,b)
 
 v = x[i]
 
def x = model.data
 

Detailed Description

model for the multi-constrained knapsack problem

Definition in file mkp.py.