# Tag Info

### Simplex-Implementations in professional Solvers

There is a series of three lectures of Robert Bixby (the Bi in Gurobi) on Solving Linear Programs: The Dual Simplex Algorithm. Have a look at the third part Implementing the algorithm where he talks ...
Accepted

### Guidelines for Linear Optimization approaches?

Let's start with the easy one: Ellipsoid Method Never use it. Even though it might appear efficient in the complexity-theory sense, it performs terrible and suffers heavily from numerical issues. ...
Accepted

### Solving a minimization problem using a Simplex method

It has nothing to do even with linear programming. It's a simple mathematical fact: $$\min \left( f \left( x \right) \right) = - \max \left( -f \left( x \right) \right)$$ which still holds when you ...
Accepted

### Simplex-Implementations in professional Solvers

First of all, usually implementations are centered around the revised dual simplex, not the primal (even though solvers will still use a primal simplex method implementation for some tasks in the ...
Accepted

### Where is the original Dantzig Simplex 1947 paper?

Introduction When Dantzig devised the algorithm, he was working at the Pentagon and thus many things would have been designated as classified in the military. There are a few more details provided in ...
Accepted

### Linear optimization problem with user-defined cost function

First, the problem is not a linear optimization problem, at least not for the objective function shown (which is nonlinear due the conditional portion in lines 10-13 and particularly the division by ...
Accepted

### How to reduce recursion when using Gomory cutting planes to solve an integer program?

The slow convergence of the Gomory cuts was well-known and source of frustration for the field up until the 90s. It seemed that Gomory cuts would be a cute idea, but not one that would lead to any ...
Accepted

### Can the primal Simplex Method walk all optima in linear time?

Converting previous comments into an answer: Unfortunately this is not the case for general LPs. To see this, consider an LP with exponentially many extreme points and a constant objective function. ...

### When should I use dual Simplex over primal Simplex?

Dual simplex is the method of choice for resolving an LP if you have an optimal solution and you change the problem by modifying the feasible region. Ranging the RHS, adding cuts or branching in MIP, ...

### Guidelines for Linear Optimization approaches?

Bob Bixby (as just one representative of many computational guys) talks regularly about progress in LP and MIP solving; for the 50th anniversary issue of "Operations Research" he wrote an article on ...
Accepted

### Having negative value for non basic variable gives a infeasible solution in simplex method?

From the slack form we can observe two things about your starting point $(x_1,x_2) = (0,0)$. The starting point is not primal feasible. This follows from the fact that not all variables $x_1$, $x_2$, ...

### Why is it called the "Simplex" Algorithm/Method?

In the open-access paper George B. Dantzig, (2002) Linear Programming. Operations Research 50(1):42-47, the mathematician behind the simplex method writes: The term simplex method arose out of a ...

### When should I use dual Simplex over primal Simplex?

In addition to @Michael's comment you have to distinguish between the algorithm used to solve the root node of a problem and the algorithm used for the nodes in the branch-and-bound tree. gurobi (and ...
Accepted

### When should I use dual Simplex over primal Simplex?

Not an expert on simplex, but here's my attempt on an answer: In general, the solution of the (previous) LP Relaxation will no longer be primal feasible when the primal LP is tightened (e.g. new cut ...
Accepted

### Simplex (GLPK) doesn't find a feasible solution on this simple assignment problem, but there is an obvious one

Maybe the unnecessarily large value for $A$ is causing numerical trouble. Try instead $A = \max_{i,j} p_{i,j} = 9$. Probably your $=0$ in the declaration of $x$ should be $\ge 0$. In fact, you ...

### Simplex algorithm and extreme points

the Simplex algorithm iterates from extreme point to extreme point Technically, no. The simplex algorithm iterates from basis to basis. It just happens that feasible basic solutions correspond to ...

### Why is the tailing off effect only a problem in column generation?

"Tailing-off effect" is a generic term that refers to an something like "the algorithm is hitting a plateau and progress becomes very slow towards the end". In other words: after ...
Accepted

### Linear Programming: Integer and non-integer decision variables

For the first question, suppose you somehow knew which days would be production days and fixed the values of the $z_t$ variables accordingly, while allowing $q_t$ and $i_t$ to be continuous variables. ...

### Linear optimization problem with user-defined cost function

If you want to implement an algorithm by your own, then we suggest you a randomized, derivative-free search, even simpler than Nelder-Mead approaches. Given a feasible solution (respecting the sum ...

### Is the iteration-limited Simplex dual solution of a MIP node useful?

It is common practice for MIP solvers to solve node LPs (other than at the root node) via dual simplex. I can't say with certainty that they terminate dual simplex prematurely if the objective value ...

### Is the iteration-limited Simplex dual solution of a MIP node useful?

Yes, you can solve the dual and use that as a (weaker) bound than the optimal solution of the LP. This leads to the trade off between faster processing nodes vs processing more nodes. This approach is ...

### warmstarting simplex algorithm- how much can problems differ from each other?

Your constraint matrix is changing with each new problem, so it might not be easy to warm-start ... and it might not be worthwhile, even if you could. One nice thing (among several) about ...

### warmstarting simplex algorithm- how much can problems differ from each other?

I actually have quite a few points. As usual, things are not as clear cut. I use advanced bases for LPs very often and they are surprisingly effective and tolerant of quite a few changes in the model....
Accepted

### Simplex Multiplier

It is explained in this link as: Simplex multipliers are essentially the shadow prices associated with a particular basic solution. Those are the multiples of their initial system of equations such ...