Memuat
Memuat
Linear Programming (linprog) for Environmental Engineering
0 views
Optimise emission abatement cost with Linear Programming (linprog) by selecting the best factory A emission reduction and factory B emission reduction. linprog solves linear programming problems: maximising or minimising a linear function under linear constraints. It is used for resource allocation, production mix, and transport or scheduling problems.

Optimise emission abatement cost with Linear Programming (linprog) by selecting the best factory A emission reduction and factory B emission reduction.
| Role | Variable | Unit |
|---|---|---|
| Main | Emission abatement cost | juta Rp |
| Supporting 1 | Factory A emission reduction | ton/tahun |
| Supporting 2 | Factory B emission reduction | ton/tahun |
Linear programming gives a maximum Emission abatement cost of 182.74 at Factory A emission reduction=18.00 and Factory B emission reduction=11.04; 2 constraints are binding, the shadow price of resource 1 is 0.000, and mean resource utilisation is 98%.
Computed from illustrative synthetic data, not from a real study.
linprog solves linear programming problems: maximising or minimising a linear function under linear constraints. It is used for resource allocation, production mix, and transport or scheduling problems.
Report the optimal solution, objective value, and fully used resources. Explain shadow prices to show which resource is most valuable to expand.
A short starting script with this project's variable names. The delivered version is adapted to your data and fully commented.
f = -[40; 30]; % maximise 40*x1 + 30*x2
A = [2 1; 1 2; 1 0]; % machine, labour, market limit
b = [100; 80; 40];
lb = [0; 0];
opts = optimoptions('linprog', 'Display', 'off');
[x, fval, exitflag, output, lambda] = linprog(f, A, b, [], [], lb, [], opts);
factory_a_emission_reduction = x(1);
emission_abatement_cost = -fval;
fprintf('x1 = %.3f, x2 = %.3f, max profit = %.2f (exitflag %d)\n', x(1), x(2), emission_abatement_cost, exitflag);
fprintf('Slack: %s\n', mat2str(b - A*x, 4));
fprintf('Shadow prices: %s\n', mat2str(-lambda.ineqlin', 4));
xs = linspace(0, 60, 200);
figure; hold on;
plot(xs, 100 - 2*xs, xs, (80 - xs)/2);
xline(40, 'g');
plot(x(1), x(2), 'ro', 'MarkerSize', 9);
xlim([0 60]); ylim([0 60]); grid on;
xlabel('x_1'); ylabel('x_2'); legend('Machine', 'Labour', 'Market', 'Optimum');Choose how much help you need. Each higher package includes everything in the lower ones. Prices exclude 11% VAT.
Package 1
US$25
excl. 11% VAT
Duration: 5 working days
Output: MATLAB files + result figures
Deliverables
Package 2 · most chosen
US$72
excl. 11% VAT
Duration: 9 working days
Output: Code + analysis + interpretation notes
Includes all of Package 1, plus
Package 3
US$156
excl. 11% VAT
Duration: 14-17 working days
Output: Code + analysis + guidance until ready to present
Includes all of Packages 1 & 2, plus
Yes. Linear Programming (linprog) is commonly used at this level in Environmental Engineering. We adapt the analysis to your research question, your own data and your supervisor's requirements.
No. The sheet is computed from illustrative synthetic data so you can see the kind of output MATLAB gives. For your order we run the same method on your own data.
That is the point of the packages. Every script is commented, and Package 3 includes two coaching sessions plus practice questions so you can explain the method and the results at your seminar and defence.
Each project has three packages: Package 1 (code and explanation) US$25, Package 2 (your data analysis and interpretation) US$72 and Package 3 (full guidance) US$156, excluding 11% VAT. Larger datasets, extra methods or tight deadlines adjust the quote after a short consultation.
The result sheet uses illustrative synthetic data. MATLAB is a trademark of The MathWorks, Inc.
Back to MATLAB portfolio