Miranda
- Total activity 24
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 10
Posts
Recent activity by Miranda-
Running time is longer when the problem size is decreased
AnsweredHello, I have a question regarding the Gurobi solver. I solved two mixed integer programmings (named MIP1, and MIP2 respectively) which are in the same structure/formulation (they are all set-pack...
-
Is TimeLimit counting the cpu time or system time ?
AnsweredHello, Gurobi can set the time limit by setting the parameter TimeLimit, but I am wondering is the Timelimit parameter set for total CPU time or system time (the time used to solving the model excl...
-
Adding constraints to linear program
AnsweredHello, I am currently solving a problem by adding new constraints to a linear program at each iteration, and then resolve the linear program from the beginning. I am curious about if there is any w...
-
model the minimization of sum of inverse functions
AnsweredHello, The problem I am solving is to minimize sum of 1/x[k] for k in range(n), under a set of linear constraints. I set the lower and upper bounds for each x[k] be greater than 0; therefore, 1/x i...
-
Get the total number of added cuts by Gurobi
AnsweredHello, After running the MIP model via Gurobi, the log file sometimes provides me how many certain cuts are added. Is it possible for me to get the total number of added cuts directly? For example...
-
Root relaxation objective value is different from the objective value from continuous model
AnsweredHello everyone, I have a question regarding the root relaxation objective value. The problem I am trying to solve is an integer program(IP). I modeled my problem as integer program (i.e. variable...
-
implement cutting plane algorithm
AnsweredHello, I am trying to find the optimal integer solution of a IP by solving a sequence of LPs instead of MILPs. What I am currently doing is I resolve the entire LP from sketch after adding some ce...
-
How do I know the total running time used to get the optimal solution? (Understand the outputs of Gurobi)
AnsweredHello, I got confused about understanding the outputs of Gurobi. I formulate a problem as a mixed integer program via Gurobi. I used the code 'model.optimize()' to find its optimal solution, and I...
-
Algorithm Gurobi uses to solve general convex optimization
AnsweredHello, I am wondering which algorithm/optimizer Gurobi uses to solve 'general' convex optimization (linear objective with quadratic and linear constraints)? Is Gurobi using interior point algorithm...
-
How to express if statement in constraints (Gurobi)
AnsweredHi, I have a question about expressing if statement in constraints. The constraints that I want to add are Z[i,j]+Z[j,i] = 1 if i is not equal to j, where i and j are indices within a certain rang...