![](https://secure.gravatar.com/avatar/feba26c85db6f3849830a54235ef1087?default=https%3A%2F%2Fassets.zendesk.com%2Fhc%2Fassets%2Fdefault_avatar.png&r=g)
Jose Vindel
- Total activity 100
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 15
- Subscriptions 22
Comments
Recent activity by Jose Vindel-
Hello Eli, After trying to solve the model I am working on, as you well made it clear the constraint gives me a zero vector, so the solution I get is totally not what I need, I've checked the cons...
-
Hello Eli, I tried to write a knapsack constr with the code, m.addVars(reactions, vtype=GRB.BINARY, name='y')m.addConstr(y.sum(j) <= 1 for j in reactions) but I get this error unsupported operand...
-
Hello, Will .getValue() work on something like this? \[\max\pi\]\[\sum (1 - y_i) \,\leq\,k\]\[A \nu = b\]\[l_{i} \hat{y}_{i}^{R} \, \leq v_{i} \, \leq u_{i} \hat{y}_{i}^{R}\]\[\pi\,\leq f_{0}(\til...
-
Thanks a lot, Eli, as always very helpful
-
Thank you so much Eli, your answer helps me a lot for the thing I want to maximize is the flux so a zero vector is not much of a help. On a side note, this would be outside of the scope of the orig...
-
Thank you so much for your answer, it clarifies a lot. No wonder when I tried to run it from Jupyter Notebook it showed an error message
-
After reading some documentation on sys, I now know it gives back a list, in the case for the TSP problem what's the list of?
-
Thank you so much for taking the time to answer, it sure helped me a lot, it turned out to be a matter of indexing
-
Hello Elli, Thanks so much for your help, this is the code to get all the list and dictionaries for the model, metabolites = df_metabolites[' abbreviation '].tolist() #the list of metabolites f...
-
Hello, thanks for your help, I tried with the following syntax but I get this error, just for clarification reactions is a list and lb_reaction is a directory of reaction and its lower bound-------...