Wagner-Within-Algorithm with arg
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
John D'Errico
le 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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Multiobjective Optimization dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!