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 CenterFile Exchange에서 Multiobjective Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by