当前位置:网站首页>Analytic hierarchy process of mathematical modeling (including Matlab code)
Analytic hierarchy process of mathematical modeling (including Matlab code)
2022-07-05 15:29:00 【Yi EBA】
Mathematical modeling analytic hierarchy process
1. The basic principle and steps of analytic hierarchy process
The basic principle and steps of analytic hierarchy process
People are engaged in social 、 In the systematic analysis of problems in the field of economy and scientific management , Often faced with
One is interrelated 、 A complex system composed of many factors that restrict each other and often lack quantitative data . level
Analytical method provides a new method for the decision-making and sequencing of this kind of problems 、 Simple and practical modeling method .

The basic principle

Use analytic hierarchy process to model , Generally, it can be carried out according to the following four steps :
(i) Establish a hierarchical structure model ;
(ii) Construct all judgment matrices in each level ;
(iii) Hierarchical single sorting and consistency test ;
(iv) Hierarchical total ranking and consistency test .




1.1 Hierarchical single sorting and consistency test







give an example


1.2 Hierarchical total ranking and consistency test





give an example
example 2 Choose the right job . After earnest discussion between both parties , Three units have expressed their willingness to employ a certain graduate . The
Students have established a hierarchical structure model based on the existing information , Pictured 2 Shown .


2. matlab Code
% Analytic hierarchy process and consistency check code use :
%(1) Construct judgment matrix A
%(2) Copy and paste the following code into Matlab Then you can
% for example :A=[1 3 5;0.33 1 3;0.2 0.33,1]
disp(' Please enter the criterion layer judgment matrix A(n rank )');
A=input('A=');
[n,n]=size(A); % Get the order of the matrix
[V,D]=eig(A); % Get the eigenvector and eigenvalue
% Find the maximum eigenvalue and its corresponding eigenvector
tempNum=D(1,1); % Initial value of eigenvalue
pos=1; % The first number of marks
for h=1:n
if D(h,h)>tempNum
tempNum=D(h,h);
pos=h; % The position of the maximum eigenvalue
end
end
w=abs(V(:,pos)); % Find the eigenvector corresponding to the maximum eigenvalue
w=w/sum(w); % normalization
t=D(pos,pos); % t It refers to the maximum eigenvalue
disp(' Criterion layer eigenvector w=');disp(w);disp(' Maximum characteristic root of criterion layer t=');disp(t);
% Consistency check
CI=(t-n)/(n-1);RI=[0 0 0.52 0.89 1.12 1.26 1.36 1.41 1.46 1.49 1.52 1.54 1.56 1.58 1.59 1.60 1.61 1.615 1.62 1.63];
CR=CI/RI(n);
if CR<0.10
disp(' The consistency of this matrix is acceptable !');
disp('CI=');disp(CI);
disp('CR=');disp(CR);
else disp(' Consistency verification of this matrix failed , Please re rate !');
end
3. Examples of application process






4. Reference material
《 Mathematical modeling algorithm and Application 》( Si keeping )《 Mathematical modeling algorithm and application problem solving 》( Si keeping )- >> bilibili Mathematical modeling learning tutorial
边栏推荐
- Detailed explanation of C language branch statements
- Ionic Cordova project modification plug-in
- swiper. JS to achieve barrage effect
- queryRunner. Query method
- 如何将 DevSecOps 引入企业?
- 【 note 】 résoudre l'erreur de code IDE golang
- F. Weights assignment for tree edges problem solving Report
- Bugku's Ping
- Coding devsecops helps financial enterprises run out of digital acceleration
- lv_ font_ Conv offline conversion
猜你喜欢
随机推荐
B站做短视频,学抖音死,学YouTube生?
Definition of episodic and batch
Crud of MySQL
超越PaLM!北大碩士提出DiVeRSe,全面刷新NLP推理排行榜
【简记】解决IDE golang 代码飘红报错
Talk about your understanding of microservices (PHP interview theory question)
【簡記】解决IDE golang 代碼飄紅報錯
Bugku's Eval
Common redis data types and application scenarios
JS knowledge points-01
Select sort and bubble sort
Detailed explanation of C language branch statements
sql server char nchar varchar和nvarchar的区别
Anti shake and throttling
Number protection AXB function! (essence)
做研究无人咨询、与学生不交心,UNC助理教授两年教职挣扎史
The elimination strategy of redis
Advanced level of static and extern
爱可可AI前沿推介(7.5)
P6183 [USACO10MAR] The Rock Game S









