-
Notifications
You must be signed in to change notification settings - Fork 195
/
deducing_costs_data.m
41 lines (40 loc) · 2.04 KB
/
deducing_costs_data.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
% data for deducing costs problem.
% use this code to display your results:
% [cmin c_true cmax]
m = 10;
n = 5;
r = 10;
c_true = [...
1.0000; 1.3183; 0.3077; 1.0190; 0.8985;
];
A = [...
0.9501 0.6154 0.0579 0.0153 0.8381;
0.2311 0.7919 0.3529 0.7468 0.0196;
0.6068 0.9218 0.8132 0.4451 0.6813;
0.4860 0.7382 0.0099 0.9318 0.3795;
0.8913 0.1763 0.1389 0.4660 0.8318;
0.7621 0.4057 0.2028 0.4186 0.5028;
0.4565 0.9355 0.1987 0.8462 0.7095;
0.0185 0.9169 0.6038 0.5252 0.4289;
0.8214 0.4103 0.2722 0.2026 0.3046;
0.4447 0.8936 0.1988 0.6721 0.1897;
];
B = [...
0.1934 0.4966 0.7271 0.7948 0.1365 0.5828 0.2091 0.4154 0.2140 0.6833;
0.6822 0.8998 0.3093 0.9568 0.0118 0.4235 0.3798 0.3050 0.6435 0.2126;
0.3028 0.8216 0.8385 0.5226 0.8939 0.5155 0.7833 0.8744 0.3200 0.8392;
0.5417 0.6449 0.5681 0.8801 0.1991 0.3340 0.6808 0.0150 0.9601 0.6288;
0.1509 0.8180 0.3704 0.1730 0.2987 0.4329 0.4611 0.7680 0.7266 0.1338;
0.6979 0.6602 0.7027 0.9797 0.6614 0.2259 0.5678 0.9708 0.4120 0.2071;
0.3784 0.3420 0.5466 0.2714 0.2844 0.5798 0.7942 0.9901 0.7446 0.6072;
0.8600 0.2897 0.4449 0.2523 0.4692 0.7604 0.0592 0.7889 0.2679 0.6299;
0.8537 0.3412 0.6946 0.8757 0.0648 0.5298 0.6029 0.4387 0.4399 0.3705;
0.5936 0.5341 0.6213 0.7373 0.9883 0.6405 0.0503 0.4983 0.9334 0.5751;
];
X = [...
0.6299 1.5033 0.7074 1.5487 1.3248 0.4414 0.3844 -0.2534 0.9311 0.1664;
-0.5762 -0.2172 0.1678 0.3141 0.1662 0.3839 -1.7211 -0.6063 -0.1249 0.3131;
1.7487 1.0725 0.4016 0.3753 1.1862 0.8048 1.4772 4.2189 0.1789 0.1313;
0.7702 0.4904 0.1393 0.3197 0.4598 -0.0475 1.4919 0.2040 1.0948 0.1820;
-0.1950 -1.0352 -0.0878 -1.0697 -1.5513 -0.1416 0.9483 0.9330 -0.7409 0.3844;
];