当前位置:网站首页>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
边栏推荐
- Bugku's Eval
- Ctfshow web entry command execution
- Advanced level of static and extern
- Appium自动化测试基础 — APPium基础操作API(一)
- OSI 七层模型
- Definition of episodic and batch
- Common MySQL interview questions (1) (written MySQL interview questions)
- JS knowledge points-01
- "Sequelae" of the withdrawal of community group purchase from the city
- CSRF, XSS science popularization and defense
猜你喜欢

Ecotone technology has passed ISO27001 and iso21434 safety management system certification

Bugku's Ping

30岁汇源,要换新主人了

Value series solution report

No one consults when doing research and does not communicate with students. UNC assistant professor has a two-year history of teaching struggle

Visual task scheduling & drag and drop | scalph data integration based on Apache seatunnel
![[brief notes] solve the problem of IDE golang code red and error reporting](/img/b6/0b2ea06eb5fbe651ff9247b109fa15.png)
[brief notes] solve the problem of IDE golang code red and error reporting

F. Min cost string problem solving Report

Bugku's steganography

Appium自动化测试基础 — APPium基础操作API(一)
随机推荐
First PR notes
Write a go program with vscode in one article
如何将 DevSecOps 引入企业?
R 熵权法计算权重及综合得分
The difference between SQL Server char nchar varchar and nvarchar
What are the domestic formal futures company platforms in 2022? How about founder metaphase? Is it safe and reliable?
Database learning - Database Security
I spring and autumn blasting-1
qt creater断点调试程序详解
P6183 [USACO10MAR] The Rock Game S
Appium自动化测试基础 — APPium基础操作API(二)
百亿按摩仪蓝海,难出巨头
F. Weights assignment for tree edges problem solving Report
Bubble sort, insert sort
Misc Basic test method and knowledge points of CTF
华为哈勃化身硬科技IPO收割机
Anti shake and throttling
Bugku's eyes are not real
可转债打新在哪里操作开户是更安全可靠的呢
MySQL5.7的JSON基本操作