SkillAgentSearch skills...

GomoryCut

I implement two phase simplex method, dual simplex method, gomory-cut constraint to solve Integer Linear Programming

Install / Use

/learn @dungnv0696/GomoryCut
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

GomoryCut

I implement two phase simplex method, dual simplex method, gomory-cut constraint to solve Integer Linear Programming <br /> Objective Function: cX -> Max <br /> Constraint: AX = b <br /> X >= 0 <br /> Input: <br /> number of constraint <br /> coefficient of objective function <br /> matrix coefficient of A <br /> vector coefficient of b <br />

Example:<br /> 2 <br /> -2 3 0 0 <br /> 1 0 1 0 <br /> 2 -3 0 1 <br /> 5 6 <br />

Meaning: Max Z = -2x1 + 3x2 <br /> subject to <br /> x1 + x3 = 5 <br /> 2x1 - 3x2 + x4 = 6 <br /> and x1, x2, x3, x4 >= 0 <br />

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated2y ago
Forks1

Languages

Python

Security Score

55/100

Audited on Mar 26, 2024

No findings