Wagner-Within-Algorithm with arg

1 回表示 (過去 30 日間)
Martin Polz
Martin Polz 2018 年 11 月 24 日
コメント済み: John D'Errico 2018 年 11 月 24 日
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 件のコメント
Martin Polz
Martin Polz 2018 年 11 月 24 日
yes. but can you explain what is the meaning of arg_J? And what does partial politics mean?
John D'Errico
John D'Errico 2018 年 11 月 24 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMultiobjective Optimization についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by