Home  >  Article  >  Topics  >  Excel solves linear programming problems

Excel solves linear programming problems

藏色散人
藏色散人Original
2020-05-07 09:25:056747browse

Excel solves linear programming problems

solve linear programming problems in excel

Open an EXCEL table, and then enter the objective function and constraints of linear programming , value range and other information.

Recommended: "Excel Tutorial"

Excel solves linear programming problems

Rewrite the linear programming equation into a form that is convenient for EXCEL table operations.

Excel solves linear programming problems

Enter the corresponding equation in the objective function.

Excel solves linear programming problems

Enter the equation in the constraints, where $H$15 represents the absolute value of row 15 in column H, and then the other constraints are in the cell of row 15 in column H. When the " " shape appears in the lower right corner of the mouse, drag the mouse downward to complete the setting of the corresponding constraints.

Excel solves linear programming problems

Click "Data", "Simulation Analysis", "Solver".

Excel solves linear programming problems

Make corresponding settings in setting targets, changing variable cells, and complying with constraints.

Excel solves linear programming problems

The final calculation result is shown in the figure below.

Excel solves linear programming problems

The above is the detailed content of Excel solves linear programming problems. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn