Wagner-Within-Algorithm with arg
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello everybody, I m new to matlab. I have to use matlab for my master-thesis and I was trying to understand the code for the wagner-within problem. I will copy the code below. What is the meaning of arg_J?
Can you please also explain what is mean by Partial politics (1 x N)?
About any help I would be extremely thankful
% J Partial politics (1 x N)
% arg_J Arguments of the partial politics (1 x N)
function [z , x , J , arg_J , C] = wargner_whitin(d , K , c , h);
%
% Wagner-Whitin Algorithm
%
% Build production plans versus time cycles k =1,...,N responding production queries dk
% and miniming the sum of following production costs
%
% i) Fix production cost K_k
% ii) Unitary production cost c_k
% iii) Stockage unitary cost h_k
%
% Assumption : initial and final stocks are null.
%
%
% Inputs
% ------
%
% d Queries of production througth time cycles (1 x N)
% K Fix production cost (1 x N)
% c Unitary production cost (1 x N)
% h Stockage unitary cost (1 x N)
%
%
% Outputs
% ------
%
%
% z Optimal cost at the end of the N cycles
% x Quantities to product (1 x N)
% J Partial politics (1 x N)
% arg_J Arguments of the partial politics (1 x N)
% C Cost transition matrix (N x N)
3 Kommentare
John D'Errico
am 24 Nov. 2018
Nobody can explain the meaning of an argument where no code is actually provided. All that is shown are comments.
Contact the source of the code and ask them.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Multiobjective Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!