Margi Shah
- 合計アクティビティ 179
- 前回のアクティビティ
- メンバー登録日
- フォロー 1ユーザー
- フォロワー 0ユーザー
- 投票 0
- サブスクリプション 11
投稿
Margi Shahによる最近のアクティビティ-
How to use Gurobi academic license on a university's supercomputer(cluster)?
回答済みHi , I am Margi, a PhD student in the School of Engineering at Cardiff University, UK. I want to run a program on a university's supercomputer (cluster).It means, university has a range of clust...
-
GurobiError: Version number is 11.0, license is for version 10.0
回答済みHi team, I am facing this error. I have installed gurobipy with conda. Right now I have Python 3.12 installed. Can you please help me with this error? I tried having a look at similar error posts b...
-
How to get number of binary variables and number of continous variables after doing optimisation?
回答済みI run a model using Gurobi. I want to find the number of binary variables and continuous variables of the model. How do I do it?
-
Using min & max functions in objective function
回答済みHi Team, I have been trying to modify my objective function: This was my objective function: obj=gp.quicksum(price_energy[t-1]*EnergyResource[res,t] for res in reslist2 for t in time1) Now what I a...
-
Using a for loop for a single or specific value in variable list in constraint formulation
回答済みtime = list()for x in range(0,int(num_t)): time.append(x) Resources=steel.addVars(res_list,time,vtype=GRB.INTEGER,name="Resources")Tasks=steel.addVars(task_list,time,vtype= GRB.BINARY,name="Task...
-
Warning: linear constraint 0 and linear constraint 1 have the same name "Resourcebalane [1,0]"
回答済みimport numpy as npimport pandas as pdimport xlrdimport csvfrom collections import OrderedDictimport mathimport gurobipy as gpfrom gurobipy import GRB group2heats = {'1': [1, 2, 3, 4], '2': [5, 6, 7...
-
Retrieving Variable Attribute using Var.getAttr()
回答済みHello, I have defined below Variables in my model: Resources=steel.addVars(res_list,time,vtype=GRB.INTEGER,name="Resources")Tasks=steel.addVars(task_list,time,vtype= GRB.BINARY,name="Tasks") Wha...
-
Using a for loop which has range of values in the constraint formulation
回答済みI am trying to formulate below constraint. I have modified it as: I have calculated the LHS part as per some data in my code which is as below: res_cat2idx= [OrderedDict([('EAF', [1]), ...
-
Nested Summation constraint for MILP problem
回答済みCan anyone help me how to write this constraint? As I am new to python and started using gurobi for optimization.