Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Linear-optimization

Revised simplex and short step dual barrier

Revised Simplex Method

Initial Basis: slack variables

Dantzig's Pivoting Rules

  • Enter: the smallest negative reduced cost
  • Leave: min-ratio, if tie, the smallest index

Bland's Pivoting Rules

  • Enter/Leave: Among valid, the smallest variable index

Initial Basis: Random

Dantzig's Pivoting Rules

Bland's Pivoting Rules

Indicate the path traced by the simplex method and compare the strategies for different initial bases

Short Step Dual Barrier Method (Interior Point method)

dual_barrier

Input

  • A, b, c: the LP data
  • p0: the initial dual solution
  • mu0: the initial path parameter
  • alpha: the decrease rate of the path parameter
  • tol: the optimality tolerance
  • K: the number of Newton steps per path parameter

Output

  • p: the optimal dual solution
  • objvals: the objective values $b^Tp^{(i)}$
  • pvecs: the feasible solutions $p^{(i)}$ across iterations

Newton

Input: A, b, c, mu, p, K

Output: p

This function is called inside of dual_barrier()

About

Revised Simplex and Short Step Dual Barrier(Interior Point)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages