All Questions
2 questions
0
votes
1
answer
502
views
Need to speed up the operations on numpy arrays in python
I am solving an integer programming model by importing Cplex as a library in Python. Let's say the optimization problem has a constraint in the following form (Ax = b):
x0+x1+x1+x3 = 1
The indices of ...
0
votes
1
answer
921
views
Cplex Error: Adding trivial infeasible linear constraint
I want to solve an integer programming model with cplex python. I have this model:
a and h are matrixes with 0s and 1s. p is a set of numbers.
here is a part of my cplex code for this model:
p=[i for ...