Nazmi Sener

  • Gurobi-versary
  • Conversationalist
  • First Question
  • Total activity 20
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 7
  • Subscriptions 4

Activity overview

Latest activity by Nazmi Sener
  • Nazmi Sener commented,

    Hi Ryuta, I don't understand but this problem is vanished after adding print(z_dual.keys()) command. However, after get rid of this warning from the first iteration it again appears in the second i...

  • Nazmi Sener created a post,

    An error from the dynamic set

    Answered

    I want to apply dynamically add decision variables and constraints to my model. But I get a key error from static set. I don't understand what is the problem. Any help will be appreciated. Error: T...

  • Nazmi Sener commented,

    Hi Jaromil, Thank you for your quick response. i is not equal to k also. I will try to rewrite this constraint. Another question: How can I change coefficient of any parameter in python? I cannot f...

  • Nazmi Sener created a post,

    Changing coefficients in the constraint

    Answered

    Dear all, I try to change coefficients of decision variable z for each scenario s. However z is used with two different coefficients. The constraint is given below. How can I do it? Thanks in adva...

  • Nazmi Sener commented,

    Dear Eli, Thank you for your quick responses. Since it is not easy to get the same error via a minimal example, I tried running a basic model from Gurobi online example library. The problem I tried...

  • Nazmi Sener commented,

    I use Gurobi 9.1.2 with Conda environment (Python 3.8). 

  • Nazmi Sener created a post,

    gurobipy.GurobiError: Unknown attribute 'DualVio'

    Answered

    When I run my python code with gurobipy I get the following error message can someone please help. Academic license - for non-commercial use only - expires 2021-06-29Using license file /home/ogr5/g...

  • Nazmi Sener commented,

    Thank you for your quick response, For second question, I guess "detmas.setAttr("RHS",covcon[athu,k], A[athu,k]*d[k]*hopen[athu] ) " line causes error. I want to do in both codes that: There is a m...

  • Nazmi Sener created a post,

    Copying Model and Revising Basis Questions

    Dear Community Members, 1-) I want to keep my basis of the model. After changing rhs of the model and solve the model again, I want to back old basis(before change) of the model. I tried to apply o...