A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scipopt.github.io/PySCIPOpt/docs/html/namespacediet.html below:

PySCIPOpt: diet Namespace Reference

Functions def  diet (F, N, a, b, c, d)   def  make_inst ()   Variables   a     b     c     d     F   def  model = diet(F, N, a, b, c, d)     N     v     x     y     z   Function Documentation ◆ diet() def diet.diet (   F,   N,   a,   b,   c,   d  )
diet -- model for the modern diet problem
Parameters:
    - F: set of foods
    - N: set of nutrients
    - a[i]: minimum intake of nutrient i
    - b[i]: maximum intake of nutrient i
    - c[j]: cost of food j
    - d[j][i]: amount of nutrient i in food j
Returns a model, ready to be solved.

Definition at line 10 of file diet.py.

References pyscipopt.expr.quicksum().

◆ make_inst() def diet.make_inst ( )
make_inst: prepare data for the diet model

Definition at line 49 of file diet.py.

References pyscipopt.Multidict.multidict().

Variable Documentation ◆ a a

Definition at line 87 of file diet.py.

◆ b b

Definition at line 87 of file diet.py.

◆ c c

Definition at line 87 of file diet.py.

◆ d d

Definition at line 87 of file diet.py.

◆ F F

Definition at line 87 of file diet.py.

◆ model def model = diet(F, N, a, b, c, d)

Definition at line 92 of file diet.py.

◆ N N

Definition at line 87 of file diet.py.

◆ v v

Definition at line 97 of file diet.py.

◆ x x

Definition at line 97 of file diet.py.

◆ y y

Definition at line 97 of file diet.py.

◆ z z

Definition at line 97 of file diet.py.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4