Tiril Amundsen
- 合計アクティビティ 8
- 前回のアクティビティ
- メンバー登録日
- フォロー 0ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 2
アクティビティの概要
Tiril Amundsenさんの最近のアクティビティ-
Tiril Amundsenさんがコメントを作成しました:
Thank you so much. Another question arised when implementing the complete model. I have a table of variables that is dependent on both commodity, routes and nodes. When adding constraints I have to...
-
Tiril Amundsenさんがコメントを作成しました:
Hi, thank you for the answer! But when running only the above I get the error message "KeyError: 0". It seems to be for the "for r in R[k].
-
Tiril Amundsenさんがコメントを作成しました:
Thank you, it worked!
-
Tiril Amundsenさんが投稿を作成しました:
Defining a set dependent on an other set
ユーザーの入力を待っています。Hi, I'm trying to define a set that is dependent on another set, like this: K: Set of commodities, denoted k R^k: Set of feasible routes for transporting commodity k, denoted r I have two commodit...
-
Tiril Amundsenさんがコメントを作成しました:
import pandas as pdimport gurobipy as gpfrom gurobipy import *import numpy as npfrom gurobipy import GRBimport matplotlib.pyplot as pltimport sys## Sets ##criteria = [0, 1, 2, 3, 4]decisionM = [0, ...
-
Tiril Amundsenさんが投稿を作成しました:
Possible to define objective parameters in constraints?
回答済みHi, I have a problem defining some parameters that I want to use in my objective function. I want to define the parameter used in the objective function in the constraints, but it only returns that...