	% Datos para probar pcuad.
% Ejem.TEXTO: Mathematical Programing in Statistics. Dodge.
% pagina 121 ejemplo 2.20.21
% H=[1 -1; -1 2]
% A=[1 1; -1 2]
% d=[-2;-6]
% b=[2;2]

% Ejem.TEXTO: Introduction to operations research. Hillier.
% página 586 Ejemplo resuelto.
% H=[2 -2; -2 4]
% A=[1 2;-1 0;0 -1]
% d=[-15;-30]
% b=[30;0;0]
A=[2378.5303	2579.8996	1008.5454	1733.0599	1713.7173	779.2372	813.4905	563.3062	623.3286	2946.9401	2439.4030	2240.3374	173.5574	1398.3089	1388.3318	300.2997	1909.6404	851.5506	890.3547	1900.5142	889.5108	2136.3961	1542.3566	6902.1441	1451.2059	1118.0572	7305.9894	1631.7566
2579.8996	2825.6647	1098.9328	1882.8873	1867.2579	847.0123	885.9069	613.0336	680.5090	3209.3980	2657.6984	2433.6511	188.5698	1528.1530	1508.3114	327.2142	2075.6843	929.1996	967.6299	2070.7284	969.5357	2316.8722	1680.8404	7493.3917	1580.6913	1216.9601	7938.1718	1778.3792
1008.5454	1098.9328	432.5992	738.5537	729.4648	331.3355	346.4275	240.0661	265.9058	1255.9334	1038.7111	955.4072	74.1401	597.6188	590.0941	128.0089	812.4695	363.5379	379.7920	809.9327	379.8460	907.7516	657.7968	2943.2056	618.3157	476.2572	3108.2020	694.5214
1733.0599	1882.8873	738.5537	1278.2635	1257.2057	569.2839	594.6728	412.9368	455.5559	2153.7499	1785.4193	1642.1640	127.3997	1023.0268	1012.0310	219.7028	1395.0894	622.4819	650.8777	1390.8833	652.0221	1555.3455	1127.7665	5048.8375	1060.2372	816.9505	5328.9568	1189.5340
1713.7173	1867.2579	729.4648	1257.2057	1246.3935	563.5411	589.3284	408.3704	451.8260	2135.7474	1767.7496	1621.0570	125.7904	1012.5724	1000.6835	217.1842	1381.4494	616.5388	643.6394	1376.9446	644.3753	1542.8279	1117.6361	4998.6092	1050.5952	808.8004	5283.1212	1180.2783
779.2372	847.0123	331.3355	569.2839	563.5411	257.2134	268.1672	185.3701	205.2790	969.3944	801.4022	737.4661	57.0923	459.0105	455.4669	98.8137	626.6625	280.1361	292.6097	625.8338	292.4010	702.1090	508.7262	2268.7449	477.7781	367.6273	2399.8062	536.0683
813.4905	885.9069	346.4275	594.6728	589.3284	268.1672	281.0280	193.7664	214.8803	1013.9769	838.5689	770.7174	59.8515	479.7402	475.9504	103.3069	653.9217	292.8279	306.0562	654.3289	305.9937	733.3881	531.4065	2372.9253	499.8951	384.2089	2508.2538	560.3019
563.3062	613.0336	240.0661	412.9368	408.3704	185.3701	193.7664	134.8458	148.5713	702.1122	580.8633	534.2623	41.4175	332.7907	329.5600	71.6065	453.5367	202.6809	211.8006	453.3119	211.8685	506.5058	368.1408	1643.6596	345.7676	266.0717	1736.3692	387.6363
623.3286	680.5090	265.9058	455.5559	451.8260	205.2790	214.8803	148.5713	165.6660	778.4389	642.9555	591.1838	45.7538	368.9409	364.8896	79.1912	502.6757	224.9487	234.7536	502.1693	234.9602	563.1887	408.0670	1822.8309	383.5535	294.6719	1922.7660	430.3689
2946.9401	3209.3980	1255.9334	2153.7499	2135.7474	969.3944	1013.9769	702.1122	778.4389	3691.3570	3044.0795	2792.3514	216.7812	1742.7911	1726.7959	374.2485	2374.8424	1061.9095	1106.4884	2370.7488	1107.9910	2658.6101	1928.2514	8609.5282	1809.4313	1391.3748	9092.5831	2031.6272
2439.4030	2657.6984	1038.7111	1785.4193	1767.7496	801.4022	838.5689	580.8633	642.9555	3044.0795	2528.2370	2310.8182	179.5562	1442.1342	1429.0432	309.3755	1964.5129	879.0413	916.7966	1960.9425	917.7078	2197.8280	1590.3498	7122.3259	1496.4181	1151.0436	7524.0182	1681.4007
2240.3374	2433.6511	955.4072	1642.1640	1621.0570	737.4661	770.7174	534.2623	591.1838	2792.3514	2310.8182	2134.7437	164.9294	1322.2476	1311.0421	284.3595	1805.0397	806.9773	843.7718	1802.4185	843.6989	2025.1756	1464.2354	6550.9595	1374.2206	1057.2740	6910.3050	1543.2036
173.5574	188.5698	74.1401	     127.3997	    125.7904	  57.0923	59.8515	41.4175	45.7538	216.7812	179.5562	164.9294	12.9818	102.7679	101.8627	22.0146	139.6207	62.4483	65.6365	139.7555	65.4137	156.6254	113.2377	507.4466	106.7202	82.0014	536.2939	119.3185
1398.3089	1528.1530	597.6188	1023.0268	1012.5724	459.0105	479.7402	332.7907	368.9409	1742.7911	1442.1342	1322.2476	102.7679	836.1210	819.5441	177.4684	1127.8568	503.6723	526.6135	1124.0212	525.9170	1256.0444	912.7519	4077.7587	858.3126	660.7633	4313.3599	964.4968
1388.3318	1508.3114	590.0941	1012.0310	1000.6835	455.4669	475.9504	329.5600	364.8896	1726.7959	1429.0432	1311.0421	101.8627	819.5441	818.7162	175.7178	1115.3507	497.6111	520.8731	1112.7544	520.5831	1250.0371	901.8635	4038.6463	849.1939	653.7890	4275.3034	953.6076
300.2997	327.2142	128.0089	219.7028	217.1842	98.8137	103.3069	71.6065	79.1912	374.2485	309.3755	284.3595	22.0146	177.4684	175.7178	38.4229	241.4478	108.2256	112.7893	241.3669	112.9779	270.5109	196.1354	872.9449	184.3112	141.9085	925.8850	206.9469
1909.6404	2075.6843	812.4695	1395.0894	1381.4494	626.6625	653.9217	453.5367	502.6757	2374.8424	1964.5129	1805.0397	139.6207	1127.8568	1115.3507	241.4478	1546.7498	686.3986	717.7670	1529.6916	716.5894	1722.2639	1244.8317	5580.2611	1167.8213	899.4491	5883.3475	1313.0345
851.5506	929.1996	363.5379	622.4819	616.5388	280.1361	292.8279	202.6809	224.9487	1061.9095	879.0413	806.9773	62.4483	503.6723	497.6111	108.2256	686.3986	308.8247	320.2450	684.8073	320.7760	767.9465	556.6938	2483.0300	523.1465	402.6981	2629.1358	587.5833
890.3547	967.6299	379.7920	650.8777	643.6394	292.6097	306.0562	211.8006	234.7536	1106.4884	916.7966	843.7718	65.6365	526.6135	520.8731	112.7893	717.7670	320.2450	337.7795	715.1835	335.2945	804.2528	580.2032	2602.4183	546.9063	420.2683	2746.5002	612.9184
1900.5142	2070.7284	809.9327	1390.8833	1376.9446	625.8338	654.3289	453.3119	502.1693	2370.7488	1960.9425	1802.4185	139.7555	1124.0212	1112.7544	241.3669	1529.6916	684.8073	715.1835	1534.2094	715.0613	1714.6262	1243.2880	5536.2119	1167.6329	897.9515	5858.7992	1310.4262
889.5108	969.5357	379.8460	652.0221	644.3753	292.4010	305.9937	211.8685	234.9602	1107.9910	917.7078	843.6989	65.4137	525.9170	520.5831	112.9779	716.5894	320.7760	335.2945	715.0613	335.9497	802.9913	580.0155	2595.2900	546.3801	420.2508	2743.5485	613.3211
2136.3961	2316.8722	907.7516	1555.3455	1542.8279	702.1090	733.3881	506.5058	563.1887	2658.6101	2197.8280	2025.1756	156.6254	1256.0444	1250.0371	270.5109	1722.2639	767.9465	804.2528	1714.6262	802.9913	1953.1013	1390.3659	6231.5978	1309.5891	1007.4205	6594.8465	1473.8195
1542.3566	1680.8404	657.7968	1127.7665	1117.6361	508.7262	531.4065	368.1408	408.0670	1928.2514	1590.3498	1464.2354	113.2377	912.7519	901.8635	196.1354	1244.8317	556.6938	580.2032	1243.2880	580.0155	1390.3659	1017.1316	4500.8200	948.1470	728.8443	4761.6519	1062.7923
6902.1441	7493.3917	2943.2056	5048.8375	4998.6092	2268.7449	2372.9253	1643.6596	1822.8309	8609.5282	7122.3259	6550.9595	507.4466	4077.7587	4038.6463	872.9449	5580.2611	2483.0300	2602.4183	5536.2119	2595.2900	6231.5978	4500.8200	20359.3792	4234.1487	3256.2990	21274.7625	4753.1999
1451.2059	1580.6913	618.3157	1060.2372	1050.5952	477.7781	499.8951	345.7676	383.5535	1809.4313	1496.4181	1374.2206	106.7202	858.3126	849.1939	184.3112	1167.8213	523.1465	546.9063	1167.6329	546.3801	1309.5891	948.1470	4234.1487	895.0325	686.6384	4481.0722	1000.4048
1118.0572	1216.9601	476.2572	816.9505	808.8004	367.6273	384.2089	266.0717	294.6719	1391.3748	1151.0436	1057.2740	82.0014	660.7633	653.7890	141.9085	899.4491	402.6981	420.2683	897.9515	420.2508	1007.4205	728.8443	3256.2990	686.6384	528.6219	3448.0454	769.9029
7305.9894	7938.1718	3108.2020	5328.9568	5283.1212	2399.8062	2508.2538	1736.3692	1922.7660	9092.5831	7524.0182	6910.3050	536.2939	4313.3599	4275.3034	925.8850	5883.3475	2629.1358	2746.5002	5858.7992	2743.5485	6594.8465	4761.6519	21274.7625	4481.0722	3448.0454	22610.5424	5029.8802
1631.7566	1778.3792	694.5214	1189.5340	1180.2783	536.0683	560.3019	387.6363	430.3689	2031.6272	1681.4007	1543.2036	119.3185	964.4968	953.6076	206.9469	1313.0345	587.5833	612.9184	1310.4262	613.3211	1473.8195	1062.7923	4753.1999	1000.4048	769.9029	5029.8802	1129.4127]



H=[2378.5303	2579.8996	1008.5454	1733.0599	1713.7173	779.2372	813.4905	563.3062	623.3286	2946.9401	2439.4030	2240.3374	173.5574	1398.3089	1388.3318	300.2997	1909.6404	851.5506	890.3547	1900.5142	889.5108	2136.3961	1542.3566	6902.1441	1451.2059	1118.0572	7305.9894	1631.7566
2579.8996	2825.6647	1098.9328	1882.8873	1867.2579	847.0123	885.9069	613.0336	680.5090	3209.3980	2657.6984	2433.6511	188.5698	1528.1530	1508.3114	327.2142	2075.6843	929.1996	967.6299	2070.7284	969.5357	2316.8722	1680.8404	7493.3917	1580.6913	1216.9601	7938.1718	1778.3792
1008.5454	1098.9328	432.5992	738.5537	729.4648	331.3355	346.4275	240.0661	265.9058	1255.9334	1038.7111	955.4072	74.1401	597.6188	590.0941	128.0089	812.4695	363.5379	379.7920	809.9327	379.8460	907.7516	657.7968	2943.2056	618.3157	476.2572	3108.2020	694.5214
1733.0599	1882.8873	738.5537	1278.2635	1257.2057	569.2839	594.6728	412.9368	455.5559	2153.7499	1785.4193	1642.1640	127.3997	1023.0268	1012.0310	219.7028	1395.0894	622.4819	650.8777	1390.8833	652.0221	1555.3455	1127.7665	5048.8375	1060.2372	816.9505	5328.9568	1189.5340
1713.7173	1867.2579	729.4648	1257.2057	1246.3935	563.5411	589.3284	408.3704	451.8260	2135.7474	1767.7496	1621.0570	125.7904	1012.5724	1000.6835	217.1842	1381.4494	616.5388	643.6394	1376.9446	644.3753	1542.8279	1117.6361	4998.6092	1050.5952	808.8004	5283.1212	1180.2783
779.2372	847.0123	331.3355	569.2839	563.5411	257.2134	268.1672	185.3701	205.2790	969.3944	801.4022	737.4661	57.0923	459.0105	455.4669	98.8137	626.6625	280.1361	292.6097	625.8338	292.4010	702.1090	508.7262	2268.7449	477.7781	367.6273	2399.8062	536.0683
813.4905	885.9069	346.4275	594.6728	589.3284	268.1672	281.0280	193.7664	214.8803	1013.9769	838.5689	770.7174	59.8515	479.7402	475.9504	103.3069	653.9217	292.8279	306.0562	654.3289	305.9937	733.3881	531.4065	2372.9253	499.8951	384.2089	2508.2538	560.3019
563.3062	613.0336	240.0661	412.9368	408.3704	185.3701	193.7664	134.8458	148.5713	702.1122	580.8633	534.2623	41.4175	332.7907	329.5600	71.6065	453.5367	202.6809	211.8006	453.3119	211.8685	506.5058	368.1408	1643.6596	345.7676	266.0717	1736.3692	387.6363
623.3286	680.5090	265.9058	455.5559	451.8260	205.2790	214.8803	148.5713	165.6660	778.4389	642.9555	591.1838	45.7538	368.9409	364.8896	79.1912	502.6757	224.9487	234.7536	502.1693	234.9602	563.1887	408.0670	1822.8309	383.5535	294.6719	1922.7660	430.3689
2946.9401	3209.3980	1255.9334	2153.7499	2135.7474	969.3944	1013.9769	702.1122	778.4389	3691.3570	3044.0795	2792.3514	216.7812	1742.7911	1726.7959	374.2485	2374.8424	1061.9095	1106.4884	2370.7488	1107.9910	2658.6101	1928.2514	8609.5282	1809.4313	1391.3748	9092.5831	2031.6272
2439.4030	2657.6984	1038.7111	1785.4193	1767.7496	801.4022	838.5689	580.8633	642.9555	3044.0795	2528.2370	2310.8182	179.5562	1442.1342	1429.0432	309.3755	1964.5129	879.0413	916.7966	1960.9425	917.7078	2197.8280	1590.3498	7122.3259	1496.4181	1151.0436	7524.0182	1681.4007
2240.3374	2433.6511	955.4072	1642.1640	1621.0570	737.4661	770.7174	534.2623	591.1838	2792.3514	2310.8182	2134.7437	164.9294	1322.2476	1311.0421	284.3595	1805.0397	806.9773	843.7718	1802.4185	843.6989	2025.1756	1464.2354	6550.9595	1374.2206	1057.2740	6910.3050	1543.2036
173.5574	188.5698	74.1401	127.3997	125.7904	57.0923	59.8515	41.4175	45.7538	216.7812	179.5562	164.9294	12.9818	102.7679	101.8627	22.0146	139.6207	62.4483	65.6365	139.7555	65.4137	156.6254	113.2377	507.4466	106.7202	82.0014	536.2939	119.3185
1398.3089	1528.1530	597.6188	1023.0268	1012.5724	459.0105	479.7402	332.7907	368.9409	1742.7911	1442.1342	1322.2476	102.7679	836.1210	819.5441	177.4684	1127.8568	503.6723	526.6135	1124.0212	525.9170	1256.0444	912.7519	4077.7587	858.3126	660.7633	4313.3599	964.4968
1388.3318	1508.3114	590.0941	1012.0310	1000.6835	455.4669	475.9504	329.5600	364.8896	1726.7959	1429.0432	1311.0421	101.8627	819.5441	818.7162	175.7178	1115.3507	497.6111	520.8731	1112.7544	520.5831	1250.0371	901.8635	4038.6463	849.1939	653.7890	4275.3034	953.6076
300.2997	327.2142	128.0089	219.7028	217.1842	98.8137	103.3069	71.6065	79.1912	374.2485	309.3755	284.3595	22.0146	177.4684	175.7178	38.4229	241.4478	108.2256	112.7893	241.3669	112.9779	270.5109	196.1354	872.9449	184.3112	141.9085	925.8850	206.9469
1909.6404	2075.6843	812.4695	1395.0894	1381.4494	626.6625	653.9217	453.5367	502.6757	2374.8424	1964.5129	1805.0397	139.6207	1127.8568	1115.3507	241.4478	1546.7498	686.3986	717.7670	1529.6916	716.5894	1722.2639	1244.8317	5580.2611	1167.8213	899.4491	5883.3475	1313.0345
851.5506	929.1996	363.5379	622.4819	616.5388	280.1361	292.8279	202.6809	224.9487	1061.9095	879.0413	806.9773	62.4483	503.6723	497.6111	108.2256	686.3986	308.8247	320.2450	684.8073	320.7760	767.9465	556.6938	2483.0300	523.1465	402.6981	2629.1358	587.5833
890.3547	967.6299	379.7920	650.8777	643.6394	292.6097	306.0562	211.8006	234.7536	1106.4884	916.7966	843.7718	65.6365	526.6135	520.8731	112.7893	717.7670	320.2450	337.7795	715.1835	335.2945	804.2528	580.2032	2602.4183	546.9063	420.2683	2746.5002	612.9184
1900.5142	2070.7284	809.9327	1390.8833	1376.9446	625.8338	654.3289	453.3119	502.1693	2370.7488	1960.9425	1802.4185	139.7555	1124.0212	1112.7544	241.3669	1529.6916	684.8073	715.1835	1534.2094	715.0613	1714.6262	1243.2880	5536.2119	1167.6329	897.9515	5858.7992	1310.4262
889.5108	969.5357	379.8460	652.0221	644.3753	292.4010	305.9937	211.8685	234.9602	1107.9910	917.7078	843.6989	65.4137	525.9170	520.5831	112.9779	716.5894	320.7760	335.2945	715.0613	335.9497	802.9913	580.0155	2595.2900	546.3801	420.2508	2743.5485	613.3211
2136.3961	2316.8722	907.7516	1555.3455	1542.8279	702.1090	733.3881	506.5058	563.1887	2658.6101	2197.8280	2025.1756	156.6254	1256.0444	1250.0371	270.5109	1722.2639	767.9465	804.2528	1714.6262	802.9913	1953.1013	1390.3659	6231.5978	1309.5891	1007.4205	6594.8465	1473.8195
1542.3566	1680.8404	657.7968	1127.7665	1117.6361	508.7262	531.4065	368.1408	408.0670	1928.2514	1590.3498	1464.2354	113.2377	912.7519	901.8635	196.1354	1244.8317	556.6938	580.2032	1243.2880	580.0155	1390.3659	1017.1316	4500.8200	948.1470	728.8443	4761.6519	1062.7923
6902.1441	7493.3917	2943.2056	5048.8375	4998.6092	2268.7449	2372.9253	1643.6596	1822.8309	8609.5282	7122.3259	6550.9595	507.4466	4077.7587	4038.6463	872.9449	5580.2611	2483.0300	2602.4183	5536.2119	2595.2900	6231.5978	4500.8200	20359.3792	4234.1487	3256.2990	21274.7625	4753.1999
1451.2059	1580.6913	618.3157	1060.2372	1050.5952	477.7781	499.8951	345.7676	383.5535	1809.4313	1496.4181	1374.2206	106.7202	858.3126	849.1939	184.3112	1167.8213	523.1465	546.9063	1167.6329	546.3801	1309.5891	948.1470	4234.1487	895.0325	686.6384	4481.0722	1000.4048
1118.0572	1216.9601	476.2572	816.9505	808.8004	367.6273	384.2089	266.0717	294.6719	1391.3748	1151.0436	1057.2740	82.0014	660.7633	653.7890	141.9085	899.4491	402.6981	420.2683	897.9515	420.2508	1007.4205	728.8443	3256.2990	686.6384	528.6219	3448.0454	769.9029
7305.9894	7938.1718	3108.2020	5328.9568	5283.1212	2399.8062	2508.2538	1736.3692	1922.7660	9092.5831	7524.0182	6910.3050	536.2939	4313.3599	4275.3034	925.8850	5883.3475	2629.1358	2746.5002	5858.7992	2743.5485	6594.8465	4761.6519	21274.7625	4481.0722	3448.0454	22610.5424	5029.8802
1631.7566	1778.3792	694.5214	1189.5340	1180.2783	536.0683	560.3019	387.6363	430.3689	2031.6272	1681.4007	1543.2036	119.3185	964.4968	953.6076	206.9469	1313.0345	587.5833	612.9184	1310.4262	613.3211	1473.8195	1062.7923	4753.1999	1000.4048	769.9029	5029.8802	1129.4127]


b=[-25000
25873
925
341
59
173
1141
1982
1586
69
1118
1026
920
159
361
79
233
458
207
764
154
833
191
97
340
69
453
8102
86
514
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
]

d=[2983116.749
3256874.515
1354693.093
2212469.135
2109313.826
989976.0437
1020608.054
709977.4084
786075.6215
3653687.16
3068136.138
2929096.763
229674.2343
1833107.299
1739254.853
382855.4144
2421654.983
1097184.16
1198090.088
2397624.062
1158542.473
2676875.196
1921220.531
8931146.434
1855180.334
1430266.005
9204360.967
2056864.964
]
