PySCIPOpt  5.1.1
Python Interface for the SCIP Optimization Suite
prodmix_soco Namespace Reference

Functions

def make_data ()
 
def prodmix (I, K, a, p, epsilon, LB)
 

Variables

 a
 
 epsilon
 
 I
 
 K
 
 LB
 
def model = prodmix(I, K, a, p, epsilon, LB)
 
 p
 
 rhs
 
 x
 

Function Documentation

◆ make_data()

def prodmix_soco.make_data ( )
creates example data set

Definition at line 39 of file prodmix_soco.py.

References pyscipopt.Multidict.multidict().

◆ prodmix()

def prodmix_soco.prodmix (   I,
  K,
  a,
  p,
  epsilon,
  LB 
)
prodmix:  robust production planning using soco
Parameters:
    I - set of materials
    K - set of components
    a[i][k] -  coef. matrix
    p[i] - price of material i
    LB[k] - amount needed for k
Returns a model, ready to be solved.

Definition at line 9 of file prodmix_soco.py.

References pyscipopt.expr.quicksum().

Variable Documentation

◆ a

a

Definition at line 53 of file prodmix_soco.py.

◆ epsilon

epsilon

Definition at line 53 of file prodmix_soco.py.

◆ I

I

Definition at line 53 of file prodmix_soco.py.

◆ K

K

Definition at line 53 of file prodmix_soco.py.

◆ LB

LB

Definition at line 53 of file prodmix_soco.py.

◆ model

def model = prodmix(I, K, a, p, epsilon, LB)

Definition at line 54 of file prodmix_soco.py.

◆ p

p

Definition at line 53 of file prodmix_soco.py.

◆ rhs

rhs

Definition at line 57 of file prodmix_soco.py.

◆ x

x

Definition at line 57 of file prodmix_soco.py.