当前位置:网站首页>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
边栏推荐
- go语言编程规范梳理总结
- 复现Thinkphp 2.x 任意代码执行漏洞
- 12 MySQL interview questions that you must chew through to enter Alibaba
- swiper. JS to achieve barrage effect
- Bugku's steganography
- Anaconda uses China University of science and technology source
- JS knowledge points-01
- 做研究无人咨询、与学生不交心,UNC助理教授两年教职挣扎史
- 百亿按摩仪蓝海,难出巨头
- I spring web upload
猜你喜欢

Ctfshow web entry information collection

P1451 求细胞数量/1329:【例8.2】细胞

Advanced level of static and extern

Database learning - Database Security

Detailed explanation of C language branch statements

Value series solution report

Xiao Sha's arithmetic problem solving Report

Garbage collection mechanism of PHP (theoretical questions of PHP interview)

Good article inventory

Surpass palm! Peking University Master proposed diverse to comprehensively refresh the NLP reasoning ranking
随机推荐
Bugku's eyes are not real
[brief notes] solve the problem of IDE golang code red and error reporting
Can I pass the PMP Exam in 20 days?
Optional parameters in the for loop
Ctfshow web entry command execution
Explanation report of the explosion
Mysql---- function
Reasons and solutions for redis cache penetration and cache avalanche
【簡記】解决IDE golang 代碼飄紅報錯
wxml2canvas
No one consults when doing research and does not communicate with students. UNC assistant professor has a two-year history of teaching struggle
Detailed explanation of QT creator breakpoint debugger
Calculate weight and comprehensive score by R entropy weight method
2.3 learning content
Redis distributed lock principle and its implementation with PHP (2)
Misc Basic test method and knowledge points of CTF
Common interview questions about swoole
P1451 calculate the number of cells / 1329: [example 8.2] cells
Object. defineProperty() - VS - new Proxy()
Au - delà du PARM! La maîtrise de l'Université de Pékin propose diverse pour actualiser complètement le classement du raisonnement du NLP