
Aleksandrs Smilgins
- Total activity 26
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 7
- Subscriptions 5
Posts
Recent activity by Aleksandrs Smilgins-
Possible to add constraints that depend on values of the variables?
AnsweredHi, I am modelling a problem in which I want to find optimal group structure with n agents. Suppose that we have 5 players and the possible groups are given by the matrix MyGroups where columns are...
-
Is there an easier way to solve this problem in Gurobi?
AnsweredHi, I am looking into the following problem, and I am wondering whether there is an easy way to solve this in Gurobi (which has so many nice features). Suppose we have 4 cities that need to be com...
-
How to find all solutions to a mixed integer programming problem?
AnsweredHi, I would like to know if it is possible to get all possible solutions from Gurobi rather than just 1. I think it is easiest to explain on a simple problem. Suppose that there are 4 agents that c...
-
How to extract solution values to separate matrices/dataframes in Python?
AnsweredHi, I am new to Gurobi and Python. I have a Python code that in the end gives me the solution: for v in my_model.getVars(): print(v.varName, v.x) However, this is a long vector where I have seve...
-
How to write this problem in R? I have it in Python.
AnsweredHi, I am new to Gurobi, and I would like to use it in R. There is only one very short example on the website where a very simple example is shown. However, I have no idea how to formulate a more co...