0s autopkgtest [00:06:52]: starting date and time: 2024-03-23 00:06:52+0000 0s autopkgtest [00:06:52]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [00:06:52]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.ymyykpmz/out --timeout-copy=6000 -a i386 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --setup-commands /home/ubuntu/autopkgtest/setup-commands/setup-testbed --apt-pocket=proposed=src:r-base --apt-upgrade r-cran-linprog --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=r-base/4.3.3-2build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@lcy02-56.secgroup --name adt-noble-i386-r-cran-linprog-20240323-000651-juju-7f2275-prod-proposed-migration-environment-3 --image adt/ubuntu-noble-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 743s autopkgtest [00:19:15]: testbed dpkg architecture: amd64 743s autopkgtest [00:19:15]: testbed apt version: 2.7.12 743s autopkgtest [00:19:15]: test architecture: i386 743s autopkgtest [00:19:15]: @@@@@@@@@@@@@@@@@@@@ test bed setup 744s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 744s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3979 kB] 744s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 744s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [498 kB] 744s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [57.7 kB] 744s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 Packages [699 kB] 744s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main i386 Packages [463 kB] 744s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main amd64 c-n-f Metadata [3508 B] 744s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 Packages [30.5 kB] 744s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/restricted i386 Packages [6700 B] 744s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/restricted amd64 c-n-f Metadata [116 B] 744s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 Packages [4417 kB] 744s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/universe i386 Packages [1309 kB] 744s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/universe amd64 c-n-f Metadata [9396 B] 744s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 Packages [96.8 kB] 744s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/multiverse i386 Packages [27.6 kB] 744s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/multiverse amd64 c-n-f Metadata [196 B] 747s Fetched 11.7 MB in 1s (7855 kB/s) 747s Reading package lists... 749s Reading package lists... 749s Building dependency tree... 749s Reading state information... 750s Calculating upgrade... 750s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 750s Reading package lists... 750s Building dependency tree... 750s Reading state information... 751s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 751s sh: Attempting to set up Debian/Ubuntu apt sources automatically 751s sh: Distribution appears to be Ubuntu 752s Reading package lists... 752s Building dependency tree... 752s Reading state information... 753s eatmydata is already the newest version (131-1). 753s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 753s Reading package lists... 753s Building dependency tree... 753s Reading state information... 753s dbus is already the newest version (1.14.10-4ubuntu1). 753s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 753s Reading package lists... 754s Building dependency tree... 754s Reading state information... 754s rng-tools-debian is already the newest version (2.4). 754s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 754s Reading package lists... 754s Building dependency tree... 754s Reading state information... 754s The following packages will be REMOVED: 754s cloud-init* python3-configobj* python3-debconf* 755s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 755s After this operation, 3256 kB disk space will be freed. 755s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71864 files and directories currently installed.) 755s Removing cloud-init (24.1.2-0ubuntu1) ... 756s Removing python3-configobj (5.0.8-3) ... 756s Removing python3-debconf (1.5.86) ... 756s Processing triggers for man-db (2.12.0-3) ... 756s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71475 files and directories currently installed.) 756s Purging configuration files for cloud-init (24.1.2-0ubuntu1) ... 757s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 757s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 757s invoke-rc.d: policy-rc.d denied execution of try-restart. 757s Reading package lists... 757s Building dependency tree... 757s Reading state information... 758s linux-generic is already the newest version (6.8.0-11.11+1). 758s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 758s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 758s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 758s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 760s Reading package lists... 760s Reading package lists... 760s Building dependency tree... 760s Reading state information... 761s Calculating upgrade... 761s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 761s Reading package lists... 761s Building dependency tree... 761s Reading state information... 761s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 761s autopkgtest [00:19:33]: rebooting testbed after setup commands that affected boot 932s autopkgtest [00:22:24]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 00:29:05 UTC 2024 933s autopkgtest [00:22:25]: @@@@@@@@@@@@@@@@@@@@ apt-source r-cran-linprog 934s Get:1 http://ftpmaster.internal/ubuntu noble/universe r-cran-linprog 0.9-4-1 (dsc) [2079 B] 934s Get:2 http://ftpmaster.internal/ubuntu noble/universe r-cran-linprog 0.9-4-1 (tar) [18.3 kB] 934s Get:3 http://ftpmaster.internal/ubuntu noble/universe r-cran-linprog 0.9-4-1 (diff) [1988 B] 934s gpgv: Signature made Sun Mar 13 14:33:21 2022 UTC 934s gpgv: using RSA key F1F007320A035541F0A663CA578A0494D1C646D1 934s gpgv: issuer "tille@debian.org" 934s gpgv: Can't check signature: No public key 934s dpkg-source: warning: cannot verify inline signature for ./r-cran-linprog_0.9-4-1.dsc: no acceptable signature found 934s autopkgtest [00:22:26]: testing package r-cran-linprog version 0.9-4-1 934s autopkgtest [00:22:26]: build not needed 937s autopkgtest [00:22:29]: test run-unit-test: preparing testbed 939s Note, using file '/tmp/autopkgtest.gzAB9D/1-autopkgtest-satdep.dsc' to get the build dependencies 939s Reading package lists... 940s Building dependency tree... 940s Reading state information... 940s Starting pkgProblemResolver with broken count: 0 940s Starting 2 pkgProblemResolver with broken count: 0 940s Done 941s The following NEW packages will be installed: 941s build-essential cpp cpp-13 cpp-13-x86-64-linux-gnu cpp-x86-64-linux-gnu 941s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono g++ g++-13 941s g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13 941s gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu libasan8 libatomic1 libblas3 941s libc-dev-bin libc6-dev libcairo2 libcc1-0 libcrypt-dev libdatrie1 941s libdeflate0 libfontconfig1 libgcc-13-dev libgfortran5 libgomp1 941s libgraphite2-3 libharfbuzz0b libhwasan0 libice6 libisl23 libitm1 libjbig0 941s libjpeg-turbo8 libjpeg8 liblapack3 liblerc4 liblsan0 libmpc3 libnsl-dev 941s libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils 941s libpaper1 libpixman-1-0 libquadmath0 libsharpyuv0 libsm6 libstdc++-13-dev 941s libtcl8.6 libthai-data libthai0 libtiff6 libtirpc-dev libtk8.6 libtsan2 941s libubsan1 libwebp7 libxcb-render0 libxcb-shm0 libxft2 libxrender1 libxss1 941s libxt6 linux-libc-dev r-base-core r-cran-linprog r-cran-lpsolve rpcsvc-proto 941s unzip x11-common xdg-utils zip 941s 0 upgraded, 79 newly installed, 0 to remove and 0 not upgraded. 941s Need to get 105 MB of archives. 941s After this operation, 323 MB of additional disk space will be used. 941s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 libc-dev-bin amd64 2.39-0ubuntu2 [20.4 kB] 941s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 linux-libc-dev amd64 6.8.0-11.11 [1595 kB] 941s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 libcrypt-dev amd64 1:4.4.36-4 [128 kB] 941s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 libtirpc-dev amd64 1.3.4+ds-1build1 [222 kB] 941s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 libnsl-dev amd64 1.3.0-3 [71.2 kB] 941s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB] 941s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 libc6-dev amd64 2.39-0ubuntu2 [2126 kB] 941s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 libisl23 amd64 0.26-3 [741 kB] 941s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 libmpc3 amd64 1.3.1-1 [54.1 kB] 941s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [11.2 MB] 941s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-13 amd64 13.2.0-17ubuntu2 [1030 B] 941s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 cpp-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [5326 B] 941s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 cpp amd64 4:13.2.0-7ubuntu1 [22.4 kB] 941s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 libcc1-0 amd64 14-20240303-1ubuntu1 [47.7 kB] 941s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 libgomp1 amd64 14-20240303-1ubuntu1 [147 kB] 941s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 libitm1 amd64 14-20240303-1ubuntu1 [29.1 kB] 941s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 libatomic1 amd64 14-20240303-1ubuntu1 [10.4 kB] 941s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 libasan8 amd64 14-20240303-1ubuntu1 [3026 kB] 941s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 liblsan0 amd64 14-20240303-1ubuntu1 [1310 kB] 941s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 libtsan2 amd64 14-20240303-1ubuntu1 [2732 kB] 941s Get:21 http://ftpmaster.internal/ubuntu noble/main amd64 libubsan1 amd64 14-20240303-1ubuntu1 [1172 kB] 941s Get:22 http://ftpmaster.internal/ubuntu noble/main amd64 libhwasan0 amd64 14-20240303-1ubuntu1 [1629 kB] 941s Get:23 http://ftpmaster.internal/ubuntu noble/main amd64 libquadmath0 amd64 14-20240303-1ubuntu1 [155 kB] 941s Get:24 http://ftpmaster.internal/ubuntu noble/main amd64 libgcc-13-dev amd64 13.2.0-17ubuntu2 [2687 kB] 941s Get:25 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [21.9 MB] 941s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-13 amd64 13.2.0-17ubuntu2 [477 kB] 941s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B] 941s Get:28 http://ftpmaster.internal/ubuntu noble/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B] 941s Get:29 http://ftpmaster.internal/ubuntu noble/main amd64 libstdc++-13-dev amd64 13.2.0-17ubuntu2 [2340 kB] 941s Get:30 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [12.5 MB] 941s Get:31 http://ftpmaster.internal/ubuntu noble/main amd64 g++-13 amd64 13.2.0-17ubuntu2 [14.5 kB] 941s Get:32 http://ftpmaster.internal/ubuntu noble/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B] 941s Get:33 http://ftpmaster.internal/ubuntu noble/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B] 941s Get:34 http://ftpmaster.internal/ubuntu noble/main amd64 build-essential amd64 12.10ubuntu1 [4928 B] 941s Get:35 http://ftpmaster.internal/ubuntu noble/main amd64 fonts-dejavu-mono all 2.37-8 [502 kB] 941s Get:36 http://ftpmaster.internal/ubuntu noble/main amd64 fonts-dejavu-core all 2.37-8 [835 kB] 941s Get:37 http://ftpmaster.internal/ubuntu noble/main amd64 fontconfig-config amd64 2.15.0-1ubuntu1 [36.9 kB] 941s Get:38 http://ftpmaster.internal/ubuntu noble/main amd64 libfontconfig1 amd64 2.15.0-1ubuntu1 [139 kB] 941s Get:39 http://ftpmaster.internal/ubuntu noble/main amd64 fontconfig amd64 2.15.0-1ubuntu1 [180 kB] 941s Get:40 http://ftpmaster.internal/ubuntu noble/main amd64 libblas3 amd64 3.12.0-3 [238 kB] 941s Get:41 http://ftpmaster.internal/ubuntu noble/main amd64 libpixman-1-0 amd64 0.42.2-1 [268 kB] 941s Get:42 http://ftpmaster.internal/ubuntu noble/main amd64 libxcb-render0 amd64 1.15-1 [16.3 kB] 941s Get:43 http://ftpmaster.internal/ubuntu noble/main amd64 libxcb-shm0 amd64 1.15-1 [5740 B] 941s Get:44 http://ftpmaster.internal/ubuntu noble/main amd64 libxrender1 amd64 1:0.9.10-1.1 [20.0 kB] 941s Get:45 http://ftpmaster.internal/ubuntu noble/main amd64 libcairo2 amd64 1.18.0-1 [572 kB] 941s Get:46 http://ftpmaster.internal/ubuntu noble/main amd64 libdatrie1 amd64 0.2.13-3 [20.9 kB] 941s Get:47 http://ftpmaster.internal/ubuntu noble/main amd64 libdeflate0 amd64 1.19-1 [43.7 kB] 941s Get:48 http://ftpmaster.internal/ubuntu noble/main amd64 libgfortran5 amd64 14-20240303-1ubuntu1 [924 kB] 941s Get:49 http://ftpmaster.internal/ubuntu noble/main amd64 libgraphite2-3 amd64 1.3.14-2 [83.1 kB] 941s Get:50 http://ftpmaster.internal/ubuntu noble/main amd64 libharfbuzz0b amd64 8.3.0-2 [469 kB] 941s Get:51 http://ftpmaster.internal/ubuntu noble/main amd64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 941s Get:52 http://ftpmaster.internal/ubuntu noble/main amd64 libice6 amd64 2:1.0.10-1build2 [42.6 kB] 941s Get:53 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg-turbo8 amd64 2.1.5-2ubuntu1 [147 kB] 941s Get:54 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg8 amd64 8c-2ubuntu11 [2148 B] 941s Get:55 http://ftpmaster.internal/ubuntu noble/main amd64 liblapack3 amd64 3.12.0-3 [2649 kB] 941s Get:56 http://ftpmaster.internal/ubuntu noble/main amd64 liblerc4 amd64 4.0.0+ds-4ubuntu1 [184 kB] 941s Get:57 http://ftpmaster.internal/ubuntu noble/main amd64 libthai-data all 0.1.29-2 [158 kB] 941s Get:58 http://ftpmaster.internal/ubuntu noble/main amd64 libthai0 amd64 0.1.29-2 [18.8 kB] 941s Get:59 http://ftpmaster.internal/ubuntu noble/main amd64 libpango-1.0-0 amd64 1.51.0+ds-4 [228 kB] 941s Get:60 http://ftpmaster.internal/ubuntu noble/main amd64 libpangoft2-1.0-0 amd64 1.51.0+ds-4 [42.1 kB] 941s Get:61 http://ftpmaster.internal/ubuntu noble/main amd64 libpangocairo-1.0-0 amd64 1.51.0+ds-4 [29.0 kB] 941s Get:62 http://ftpmaster.internal/ubuntu noble/main amd64 libpaper1 amd64 1.1.29 [13.4 kB] 941s Get:63 http://ftpmaster.internal/ubuntu noble/main amd64 libpaper-utils amd64 1.1.29 [8658 B] 941s Get:64 http://ftpmaster.internal/ubuntu noble/main amd64 libsharpyuv0 amd64 1.3.2-0.4 [15.6 kB] 941s Get:65 http://ftpmaster.internal/ubuntu noble/main amd64 libsm6 amd64 2:1.2.3-1build2 [16.7 kB] 941s Get:66 http://ftpmaster.internal/ubuntu noble/main amd64 libtcl8.6 amd64 8.6.13+dfsg-2 [984 kB] 941s Get:67 http://ftpmaster.internal/ubuntu noble/main amd64 libjbig0 amd64 2.1-6.1ubuntu1 [29.3 kB] 941s Get:68 http://ftpmaster.internal/ubuntu noble/main amd64 libwebp7 amd64 1.3.2-0.4 [230 kB] 941s Get:69 http://ftpmaster.internal/ubuntu noble/main amd64 libtiff6 amd64 4.5.1+git230720-3ubuntu1 [232 kB] 941s Get:70 http://ftpmaster.internal/ubuntu noble/main amd64 libxft2 amd64 2.3.6-1 [44.5 kB] 941s Get:71 http://ftpmaster.internal/ubuntu noble/main amd64 libxss1 amd64 1:1.2.3-1build2 [8476 B] 941s Get:72 http://ftpmaster.internal/ubuntu noble/main amd64 libtk8.6 amd64 8.6.13-2 [776 kB] 941s Get:73 http://ftpmaster.internal/ubuntu noble/main amd64 libxt6 amd64 1:1.2.1-1.1 [173 kB] 941s Get:74 http://ftpmaster.internal/ubuntu noble/main amd64 zip amd64 3.0-13 [176 kB] 941s Get:75 http://ftpmaster.internal/ubuntu noble/main amd64 unzip amd64 6.0-28ubuntu3 [174 kB] 941s Get:76 http://ftpmaster.internal/ubuntu noble/main amd64 xdg-utils all 1.1.3-4.1ubuntu3 [62.0 kB] 941s Get:77 http://ftpmaster.internal/ubuntu noble/universe amd64 r-base-core amd64 4.3.2-1build1 [27.0 MB] 942s Get:78 http://ftpmaster.internal/ubuntu noble/universe amd64 r-cran-lpsolve amd64 5.6.20-1 [337 kB] 942s Get:79 http://ftpmaster.internal/ubuntu noble/universe amd64 r-cran-linprog all 0.9-4-1 [74.9 kB] 942s Preconfiguring packages ... 942s Fetched 105 MB in 1s (115 MB/s) 942s Selecting previously unselected package libc-dev-bin. 942s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 71420 files and directories currently installed.) 942s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_amd64.deb ... 942s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 942s Selecting previously unselected package linux-libc-dev:amd64. 942s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_amd64.deb ... 942s Unpacking linux-libc-dev:amd64 (6.8.0-11.11) ... 943s Selecting previously unselected package libcrypt-dev:amd64. 943s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_amd64.deb ... 943s Unpacking libcrypt-dev:amd64 (1:4.4.36-4) ... 943s Selecting previously unselected package libtirpc-dev:amd64. 943s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1build1_amd64.deb ... 943s Unpacking libtirpc-dev:amd64 (1.3.4+ds-1build1) ... 943s Selecting previously unselected package libnsl-dev:amd64. 943s Preparing to unpack .../04-libnsl-dev_1.3.0-3_amd64.deb ... 943s Unpacking libnsl-dev:amd64 (1.3.0-3) ... 943s Selecting previously unselected package rpcsvc-proto. 943s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ... 943s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 943s Selecting previously unselected package libc6-dev:amd64. 943s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_amd64.deb ... 943s Unpacking libc6-dev:amd64 (2.39-0ubuntu2) ... 943s Selecting previously unselected package libisl23:amd64. 943s Preparing to unpack .../07-libisl23_0.26-3_amd64.deb ... 943s Unpacking libisl23:amd64 (0.26-3) ... 943s Selecting previously unselected package libmpc3:amd64. 943s Preparing to unpack .../08-libmpc3_1.3.1-1_amd64.deb ... 943s Unpacking libmpc3:amd64 (1.3.1-1) ... 943s Selecting previously unselected package cpp-13-x86-64-linux-gnu. 943s Preparing to unpack .../09-cpp-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ... 943s Unpacking cpp-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 943s Selecting previously unselected package cpp-13. 943s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_amd64.deb ... 943s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 943s Selecting previously unselected package cpp-x86-64-linux-gnu. 943s Preparing to unpack .../11-cpp-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 943s Unpacking cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 943s Selecting previously unselected package cpp. 943s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_amd64.deb ... 943s Unpacking cpp (4:13.2.0-7ubuntu1) ... 943s Selecting previously unselected package libcc1-0:amd64. 943s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_amd64.deb ... 943s Unpacking libcc1-0:amd64 (14-20240303-1ubuntu1) ... 943s Selecting previously unselected package libgomp1:amd64. 943s Preparing to unpack .../14-libgomp1_14-20240303-1ubuntu1_amd64.deb ... 943s Unpacking libgomp1:amd64 (14-20240303-1ubuntu1) ... 943s Selecting previously unselected package libitm1:amd64. 943s Preparing to unpack .../15-libitm1_14-20240303-1ubuntu1_amd64.deb ... 943s Unpacking libitm1:amd64 (14-20240303-1ubuntu1) ... 943s Selecting previously unselected package libatomic1:amd64. 943s Preparing to unpack .../16-libatomic1_14-20240303-1ubuntu1_amd64.deb ... 943s Unpacking libatomic1:amd64 (14-20240303-1ubuntu1) ... 943s Selecting previously unselected package libasan8:amd64. 943s Preparing to unpack .../17-libasan8_14-20240303-1ubuntu1_amd64.deb ... 943s Unpacking libasan8:amd64 (14-20240303-1ubuntu1) ... 943s Selecting previously unselected package liblsan0:amd64. 943s Preparing to unpack .../18-liblsan0_14-20240303-1ubuntu1_amd64.deb ... 943s Unpacking liblsan0:amd64 (14-20240303-1ubuntu1) ... 943s Selecting previously unselected package libtsan2:amd64. 943s Preparing to unpack .../19-libtsan2_14-20240303-1ubuntu1_amd64.deb ... 943s Unpacking libtsan2:amd64 (14-20240303-1ubuntu1) ... 944s Selecting previously unselected package libubsan1:amd64. 944s Preparing to unpack .../20-libubsan1_14-20240303-1ubuntu1_amd64.deb ... 944s Unpacking libubsan1:amd64 (14-20240303-1ubuntu1) ... 944s Selecting previously unselected package libhwasan0:amd64. 944s Preparing to unpack .../21-libhwasan0_14-20240303-1ubuntu1_amd64.deb ... 944s Unpacking libhwasan0:amd64 (14-20240303-1ubuntu1) ... 944s Selecting previously unselected package libquadmath0:amd64. 944s Preparing to unpack .../22-libquadmath0_14-20240303-1ubuntu1_amd64.deb ... 944s Unpacking libquadmath0:amd64 (14-20240303-1ubuntu1) ... 944s Selecting previously unselected package libgcc-13-dev:amd64. 944s Preparing to unpack .../23-libgcc-13-dev_13.2.0-17ubuntu2_amd64.deb ... 944s Unpacking libgcc-13-dev:amd64 (13.2.0-17ubuntu2) ... 944s Selecting previously unselected package gcc-13-x86-64-linux-gnu. 944s Preparing to unpack .../24-gcc-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ... 944s Unpacking gcc-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 944s Selecting previously unselected package gcc-13. 944s Preparing to unpack .../25-gcc-13_13.2.0-17ubuntu2_amd64.deb ... 944s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 944s Selecting previously unselected package gcc-x86-64-linux-gnu. 944s Preparing to unpack .../26-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 944s Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 944s Selecting previously unselected package gcc. 944s Preparing to unpack .../27-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ... 944s Unpacking gcc (4:13.2.0-7ubuntu1) ... 944s Selecting previously unselected package libstdc++-13-dev:amd64. 944s Preparing to unpack .../28-libstdc++-13-dev_13.2.0-17ubuntu2_amd64.deb ... 944s Unpacking libstdc++-13-dev:amd64 (13.2.0-17ubuntu2) ... 945s Selecting previously unselected package g++-13-x86-64-linux-gnu. 945s Preparing to unpack .../29-g++-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ... 945s Unpacking g++-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 945s Selecting previously unselected package g++-13. 945s Preparing to unpack .../30-g++-13_13.2.0-17ubuntu2_amd64.deb ... 945s Unpacking g++-13 (13.2.0-17ubuntu2) ... 945s Selecting previously unselected package g++-x86-64-linux-gnu. 945s Preparing to unpack .../31-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 945s Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 945s Selecting previously unselected package g++. 945s Preparing to unpack .../32-g++_4%3a13.2.0-7ubuntu1_amd64.deb ... 945s Unpacking g++ (4:13.2.0-7ubuntu1) ... 945s Selecting previously unselected package build-essential. 945s Preparing to unpack .../33-build-essential_12.10ubuntu1_amd64.deb ... 945s Unpacking build-essential (12.10ubuntu1) ... 945s Selecting previously unselected package fonts-dejavu-mono. 945s Preparing to unpack .../34-fonts-dejavu-mono_2.37-8_all.deb ... 945s Unpacking fonts-dejavu-mono (2.37-8) ... 945s Selecting previously unselected package fonts-dejavu-core. 945s Preparing to unpack .../35-fonts-dejavu-core_2.37-8_all.deb ... 945s Unpacking fonts-dejavu-core (2.37-8) ... 945s Selecting previously unselected package fontconfig-config. 945s Preparing to unpack .../36-fontconfig-config_2.15.0-1ubuntu1_amd64.deb ... 945s Unpacking fontconfig-config (2.15.0-1ubuntu1) ... 945s Selecting previously unselected package libfontconfig1:amd64. 945s Preparing to unpack .../37-libfontconfig1_2.15.0-1ubuntu1_amd64.deb ... 945s Unpacking libfontconfig1:amd64 (2.15.0-1ubuntu1) ... 945s Selecting previously unselected package fontconfig. 945s Preparing to unpack .../38-fontconfig_2.15.0-1ubuntu1_amd64.deb ... 945s Unpacking fontconfig (2.15.0-1ubuntu1) ... 945s Selecting previously unselected package libblas3:amd64. 945s Preparing to unpack .../39-libblas3_3.12.0-3_amd64.deb ... 945s Unpacking libblas3:amd64 (3.12.0-3) ... 945s Selecting previously unselected package libpixman-1-0:amd64. 945s Preparing to unpack .../40-libpixman-1-0_0.42.2-1_amd64.deb ... 945s Unpacking libpixman-1-0:amd64 (0.42.2-1) ... 945s Selecting previously unselected package libxcb-render0:amd64. 945s Preparing to unpack .../41-libxcb-render0_1.15-1_amd64.deb ... 945s Unpacking libxcb-render0:amd64 (1.15-1) ... 945s Selecting previously unselected package libxcb-shm0:amd64. 945s Preparing to unpack .../42-libxcb-shm0_1.15-1_amd64.deb ... 945s Unpacking libxcb-shm0:amd64 (1.15-1) ... 945s Selecting previously unselected package libxrender1:amd64. 945s Preparing to unpack .../43-libxrender1_1%3a0.9.10-1.1_amd64.deb ... 945s Unpacking libxrender1:amd64 (1:0.9.10-1.1) ... 946s Selecting previously unselected package libcairo2:amd64. 946s Preparing to unpack .../44-libcairo2_1.18.0-1_amd64.deb ... 946s Unpacking libcairo2:amd64 (1.18.0-1) ... 946s Selecting previously unselected package libdatrie1:amd64. 946s Preparing to unpack .../45-libdatrie1_0.2.13-3_amd64.deb ... 946s Unpacking libdatrie1:amd64 (0.2.13-3) ... 946s Selecting previously unselected package libdeflate0:amd64. 946s Preparing to unpack .../46-libdeflate0_1.19-1_amd64.deb ... 946s Unpacking libdeflate0:amd64 (1.19-1) ... 946s Selecting previously unselected package libgfortran5:amd64. 946s Preparing to unpack .../47-libgfortran5_14-20240303-1ubuntu1_amd64.deb ... 946s Unpacking libgfortran5:amd64 (14-20240303-1ubuntu1) ... 946s Selecting previously unselected package libgraphite2-3:amd64. 946s Preparing to unpack .../48-libgraphite2-3_1.3.14-2_amd64.deb ... 946s Unpacking libgraphite2-3:amd64 (1.3.14-2) ... 946s Selecting previously unselected package libharfbuzz0b:amd64. 946s Preparing to unpack .../49-libharfbuzz0b_8.3.0-2_amd64.deb ... 946s Unpacking libharfbuzz0b:amd64 (8.3.0-2) ... 946s Selecting previously unselected package x11-common. 946s Preparing to unpack .../50-x11-common_1%3a7.7+23ubuntu2_all.deb ... 946s Unpacking x11-common (1:7.7+23ubuntu2) ... 946s Selecting previously unselected package libice6:amd64. 946s Preparing to unpack .../51-libice6_2%3a1.0.10-1build2_amd64.deb ... 946s Unpacking libice6:amd64 (2:1.0.10-1build2) ... 946s Selecting previously unselected package libjpeg-turbo8:amd64. 946s Preparing to unpack .../52-libjpeg-turbo8_2.1.5-2ubuntu1_amd64.deb ... 946s Unpacking libjpeg-turbo8:amd64 (2.1.5-2ubuntu1) ... 946s Selecting previously unselected package libjpeg8:amd64. 946s Preparing to unpack .../53-libjpeg8_8c-2ubuntu11_amd64.deb ... 946s Unpacking libjpeg8:amd64 (8c-2ubuntu11) ... 946s Selecting previously unselected package liblapack3:amd64. 946s Preparing to unpack .../54-liblapack3_3.12.0-3_amd64.deb ... 946s Unpacking liblapack3:amd64 (3.12.0-3) ... 946s Selecting previously unselected package liblerc4:amd64. 946s Preparing to unpack .../55-liblerc4_4.0.0+ds-4ubuntu1_amd64.deb ... 946s Unpacking liblerc4:amd64 (4.0.0+ds-4ubuntu1) ... 946s Selecting previously unselected package libthai-data. 946s Preparing to unpack .../56-libthai-data_0.1.29-2_all.deb ... 946s Unpacking libthai-data (0.1.29-2) ... 946s Selecting previously unselected package libthai0:amd64. 946s Preparing to unpack .../57-libthai0_0.1.29-2_amd64.deb ... 946s Unpacking libthai0:amd64 (0.1.29-2) ... 946s Selecting previously unselected package libpango-1.0-0:amd64. 946s Preparing to unpack .../58-libpango-1.0-0_1.51.0+ds-4_amd64.deb ... 946s Unpacking libpango-1.0-0:amd64 (1.51.0+ds-4) ... 946s Selecting previously unselected package libpangoft2-1.0-0:amd64. 946s Preparing to unpack .../59-libpangoft2-1.0-0_1.51.0+ds-4_amd64.deb ... 946s Unpacking libpangoft2-1.0-0:amd64 (1.51.0+ds-4) ... 946s Selecting previously unselected package libpangocairo-1.0-0:amd64. 946s Preparing to unpack .../60-libpangocairo-1.0-0_1.51.0+ds-4_amd64.deb ... 946s Unpacking libpangocairo-1.0-0:amd64 (1.51.0+ds-4) ... 946s Selecting previously unselected package libpaper1:amd64. 946s Preparing to unpack .../61-libpaper1_1.1.29_amd64.deb ... 946s Unpacking libpaper1:amd64 (1.1.29) ... 946s Selecting previously unselected package libpaper-utils. 946s Preparing to unpack .../62-libpaper-utils_1.1.29_amd64.deb ... 946s Unpacking libpaper-utils (1.1.29) ... 946s Selecting previously unselected package libsharpyuv0:amd64. 946s Preparing to unpack .../63-libsharpyuv0_1.3.2-0.4_amd64.deb ... 946s Unpacking libsharpyuv0:amd64 (1.3.2-0.4) ... 946s Selecting previously unselected package libsm6:amd64. 946s Preparing to unpack .../64-libsm6_2%3a1.2.3-1build2_amd64.deb ... 946s Unpacking libsm6:amd64 (2:1.2.3-1build2) ... 946s Selecting previously unselected package libtcl8.6:amd64. 946s Preparing to unpack .../65-libtcl8.6_8.6.13+dfsg-2_amd64.deb ... 946s Unpacking libtcl8.6:amd64 (8.6.13+dfsg-2) ... 946s Selecting previously unselected package libjbig0:amd64. 946s Preparing to unpack .../66-libjbig0_2.1-6.1ubuntu1_amd64.deb ... 946s Unpacking libjbig0:amd64 (2.1-6.1ubuntu1) ... 946s Selecting previously unselected package libwebp7:amd64. 946s Preparing to unpack .../67-libwebp7_1.3.2-0.4_amd64.deb ... 946s Unpacking libwebp7:amd64 (1.3.2-0.4) ... 946s Selecting previously unselected package libtiff6:amd64. 946s Preparing to unpack .../68-libtiff6_4.5.1+git230720-3ubuntu1_amd64.deb ... 946s Unpacking libtiff6:amd64 (4.5.1+git230720-3ubuntu1) ... 946s Selecting previously unselected package libxft2:amd64. 947s Preparing to unpack .../69-libxft2_2.3.6-1_amd64.deb ... 947s Unpacking libxft2:amd64 (2.3.6-1) ... 947s Selecting previously unselected package libxss1:amd64. 947s Preparing to unpack .../70-libxss1_1%3a1.2.3-1build2_amd64.deb ... 947s Unpacking libxss1:amd64 (1:1.2.3-1build2) ... 947s Selecting previously unselected package libtk8.6:amd64. 947s Preparing to unpack .../71-libtk8.6_8.6.13-2_amd64.deb ... 947s Unpacking libtk8.6:amd64 (8.6.13-2) ... 947s Selecting previously unselected package libxt6:amd64. 947s Preparing to unpack .../72-libxt6_1%3a1.2.1-1.1_amd64.deb ... 947s Unpacking libxt6:amd64 (1:1.2.1-1.1) ... 947s Selecting previously unselected package zip. 947s Preparing to unpack .../73-zip_3.0-13_amd64.deb ... 947s Unpacking zip (3.0-13) ... 947s Selecting previously unselected package unzip. 947s Preparing to unpack .../74-unzip_6.0-28ubuntu3_amd64.deb ... 947s Unpacking unzip (6.0-28ubuntu3) ... 947s Selecting previously unselected package xdg-utils. 947s Preparing to unpack .../75-xdg-utils_1.1.3-4.1ubuntu3_all.deb ... 947s Unpacking xdg-utils (1.1.3-4.1ubuntu3) ... 947s Selecting previously unselected package r-base-core. 947s Preparing to unpack .../76-r-base-core_4.3.2-1build1_amd64.deb ... 947s Unpacking r-base-core (4.3.2-1build1) ... 947s Selecting previously unselected package r-cran-lpsolve. 947s Preparing to unpack .../77-r-cran-lpsolve_5.6.20-1_amd64.deb ... 947s Unpacking r-cran-lpsolve (5.6.20-1) ... 947s Selecting previously unselected package r-cran-linprog. 947s Preparing to unpack .../78-r-cran-linprog_0.9-4-1_all.deb ... 947s Unpacking r-cran-linprog (0.9-4-1) ... 947s Setting up libgraphite2-3:amd64 (1.3.14-2) ... 947s Setting up libpixman-1-0:amd64 (0.42.2-1) ... 947s Setting up libsharpyuv0:amd64 (1.3.2-0.4) ... 947s Setting up libpaper1:amd64 (1.1.29) ... 947s 947s Creating config file /etc/papersize with new version 947s Setting up liblerc4:amd64 (4.0.0+ds-4ubuntu1) ... 947s Setting up libxrender1:amd64 (1:0.9.10-1.1) ... 947s Setting up libdatrie1:amd64 (0.2.13-3) ... 947s Setting up libxcb-render0:amd64 (1.15-1) ... 947s Setting up unzip (6.0-28ubuntu3) ... 947s Setting up x11-common (1:7.7+23ubuntu2) ... 948s Setting up libdeflate0:amd64 (1.19-1) ... 948s Setting up linux-libc-dev:amd64 (6.8.0-11.11) ... 948s Setting up libxcb-shm0:amd64 (1.15-1) ... 948s Setting up libpaper-utils (1.1.29) ... 948s Setting up libgomp1:amd64 (14-20240303-1ubuntu1) ... 948s Setting up libjbig0:amd64 (2.1-6.1ubuntu1) ... 948s Setting up zip (3.0-13) ... 948s Setting up libblas3:amd64 (3.12.0-3) ... 948s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode 948s Setting up libtirpc-dev:amd64 (1.3.4+ds-1build1) ... 948s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 948s Setting up libquadmath0:amd64 (14-20240303-1ubuntu1) ... 948s Setting up fonts-dejavu-mono (2.37-8) ... 948s Setting up libmpc3:amd64 (1.3.1-1) ... 948s Setting up libatomic1:amd64 (14-20240303-1ubuntu1) ... 948s Setting up libtcl8.6:amd64 (8.6.13+dfsg-2) ... 948s Setting up fonts-dejavu-core (2.37-8) ... 948s Setting up libjpeg-turbo8:amd64 (2.1.5-2ubuntu1) ... 948s Setting up libgfortran5:amd64 (14-20240303-1ubuntu1) ... 948s Setting up libwebp7:amd64 (1.3.2-0.4) ... 948s Setting up libubsan1:amd64 (14-20240303-1ubuntu1) ... 948s Setting up libnsl-dev:amd64 (1.3.0-3) ... 948s Setting up libhwasan0:amd64 (14-20240303-1ubuntu1) ... 948s Setting up libcrypt-dev:amd64 (1:4.4.36-4) ... 948s Setting up libasan8:amd64 (14-20240303-1ubuntu1) ... 948s Setting up libharfbuzz0b:amd64 (8.3.0-2) ... 948s Setting up libthai-data (0.1.29-2) ... 948s Setting up libxss1:amd64 (1:1.2.3-1build2) ... 948s Setting up libtsan2:amd64 (14-20240303-1ubuntu1) ... 948s Setting up libisl23:amd64 (0.26-3) ... 948s Setting up libc-dev-bin (2.39-0ubuntu2) ... 948s Setting up xdg-utils (1.1.3-4.1ubuntu3) ... 948s update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode 948s Setting up libcc1-0:amd64 (14-20240303-1ubuntu1) ... 948s Setting up liblsan0:amd64 (14-20240303-1ubuntu1) ... 948s Setting up libitm1:amd64 (14-20240303-1ubuntu1) ... 948s Setting up libjpeg8:amd64 (8c-2ubuntu11) ... 948s Setting up libice6:amd64 (2:1.0.10-1build2) ... 948s Setting up liblapack3:amd64 (3.12.0-3) ... 948s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode 948s Setting up cpp-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 948s Setting up fontconfig-config (2.15.0-1ubuntu1) ... 948s Setting up libthai0:amd64 (0.1.29-2) ... 948s Setting up libgcc-13-dev:amd64 (13.2.0-17ubuntu2) ... 948s Setting up libtiff6:amd64 (4.5.1+git230720-3ubuntu1) ... 948s Setting up libc6-dev:amd64 (2.39-0ubuntu2) ... 948s Setting up libfontconfig1:amd64 (2.15.0-1ubuntu1) ... 948s Setting up libsm6:amd64 (2:1.2.3-1build2) ... 948s Setting up libstdc++-13-dev:amd64 (13.2.0-17ubuntu2) ... 948s Setting up cpp-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 948s Setting up fontconfig (2.15.0-1ubuntu1) ... 950s Regenerating fonts cache... done. 950s Setting up libxft2:amd64 (2.3.6-1) ... 950s Setting up cpp-13 (13.2.0-17ubuntu2) ... 950s Setting up gcc-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 950s Setting up libtk8.6:amd64 (8.6.13-2) ... 950s Setting up libpango-1.0-0:amd64 (1.51.0+ds-4) ... 950s Setting up libcairo2:amd64 (1.18.0-1) ... 950s Setting up gcc-13 (13.2.0-17ubuntu2) ... 950s Setting up libxt6:amd64 (1:1.2.1-1.1) ... 950s Setting up cpp (4:13.2.0-7ubuntu1) ... 950s Setting up libpangoft2-1.0-0:amd64 (1.51.0+ds-4) ... 950s Setting up libpangocairo-1.0-0:amd64 (1.51.0+ds-4) ... 950s Setting up g++-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 950s Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 950s Setting up gcc (4:13.2.0-7ubuntu1) ... 950s Setting up r-base-core (4.3.2-1build1) ... 950s 950s Creating config file /etc/R/Renviron with new version 951s Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 951s Setting up r-cran-lpsolve (5.6.20-1) ... 951s Setting up g++-13 (13.2.0-17ubuntu2) ... 951s Setting up r-cran-linprog (0.9-4-1) ... 951s Setting up g++ (4:13.2.0-7ubuntu1) ... 951s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 951s Setting up build-essential (12.10ubuntu1) ... 951s Processing triggers for libc-bin (2.39-0ubuntu2) ... 951s Processing triggers for man-db (2.12.0-3) ... 952s Processing triggers for install-info (7.1-3) ... 956s Reading package lists... 957s Building dependency tree... 957s Reading state information... 957s Starting pkgProblemResolver with broken count: 0 957s Starting 2 pkgProblemResolver with broken count: 0 957s Done 958s The following NEW packages will be installed: 958s autopkgtest-satdep 958s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 958s Need to get 0 B/700 B of archives. 958s After this operation, 0 B of additional disk space will be used. 958s Get:1 /tmp/autopkgtest.gzAB9D/2-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [700 B] 958s Selecting previously unselected package autopkgtest-satdep. 958s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 76494 files and directories currently installed.) 958s Preparing to unpack .../2-autopkgtest-satdep.deb ... 958s Unpacking autopkgtest-satdep (0) ... 958s Setting up autopkgtest-satdep (0) ... 960s (Reading database ... 76494 files and directories currently installed.) 960s Removing autopkgtest-satdep (0) ... 960s autopkgtest [00:22:52]: test run-unit-test: [----------------------- 960s BEGIN TEST MpsTests.R 960s 960s R version 4.3.2 (2023-10-31) -- "Eye Holes" 960s Copyright (C) 2023 The R Foundation for Statistical Computing 960s Platform: x86_64-pc-linux-gnu (64-bit) 960s 960s R is free software and comes with ABSOLUTELY NO WARRANTY. 960s You are welcome to redistribute it under certain conditions. 960s Type 'license()' or 'licence()' for distribution details. 960s 960s R is a collaborative project with many contributors. 960s Type 'contributors()' for more information and 960s 'citation()' on how to cite R or R packages in publications. 960s 960s Type 'demo()' for some demos, 'help()' for on-line help, or 960s 'help.start()' for an HTML browser interface to help. 960s Type 'q()' to quit R. 960s 961s > library( linprog ) 961s Loading required package: lpSolve 961s > 961s > ## example of Steinhauser, Langbehn and Peters (1992) 961s > ## Production activities 961s > cvec <- c(1800, 600, 600) # gross margins 961s > names(cvec) <- c("Cows","Bulls","Pigs") 961s > 961s > ## Constraints (quasi-fix factors) 961s > bvec <- c(40, 90, 2500) # endowment 961s > names(bvec) <- c("Land","Stable","Labor") 961s > 961s > ## Needs of Production activities 961s > Amat <- rbind( c( 0.7, 0.35, 0 ), 961s + c( 1.5, 1, 3 ), 961s + c( 50, 12.5, 20 ) ) 961s > 961s > ## solve the model 961s > result1a <- solveLP( cvec, bvec, Amat, TRUE ) 961s > 961s > ## Write to a (virtual) MPS file 961s > mpsFile <- file() 961s > writeMps( mpsFile, cvec, bvec, Amat, "Steinhauser" ) 961s > 961s > ## write the lines of this file to the output file 961s > mpsLines <- readLines( mpsFile ) 961s > close( mpsFile ) 961s > print( mpsLines ) 961s [1] "NAME Steinhauser" 961s [2] "ROWS" 961s [3] " N obj" 961s [4] " L Land" 961s [5] " L Stable" 961s [6] " L Labor" 961s [7] "COLUMNS" 961s [8] " Cows obj 1800" 961s [9] " Cows Land 0.7" 961s [10] " Cows Stable 1.5" 961s [11] " Cows Labor 50" 961s [12] " Bulls obj 600" 961s [13] " Bulls Land 0.35" 961s [14] " Bulls Stable 1" 961s [15] " Bulls Labor 12.5" 961s [16] " Pigs obj 600" 961s [17] " Pigs Stable 3" 961s [18] " Pigs Labor 20" 961s [19] "RHS" 961s [20] " RHS Land 40" 961s [21] " RHS Stable 90" 961s [22] " RHS Labor 2500" 961s [23] "ENDATA" 961s > 961s > ## Write to a (virtual) MPS file again (for readMps) 961s > mpsFile <- file() 961s > writeMps( mpsFile, cvec, bvec, Amat, "Steinhauser" ) 961s > 961s > ## delete all LP objects 961s > rm( cvec, bvec, Amat ) 961s > 961s > ## Read LP data from MPS file and solve it. 961s > lpModel <- readMps( mpsFile, TRUE, TRUE ) 961s > close( mpsFile ) 961s > 961s > ## Print the model and its result 961s > lpModel 961s $name 961s [1] "Steinhauser" 961s 961s $cvec 961s Cows Bulls Pigs 961s 1800 600 600 961s 961s $bvec 961s Land Stable Labor 961s 40 90 2500 961s 961s $Amat 961s Cows Bulls Pigs 961s Land 0.7 0.35 0 961s Stable 1.5 1.00 3 961s Labor 50.0 12.50 20 961s 961s $res 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Maximum): 93600 961s 961s Iterations in phase 1: 0 961s Iterations in phase 2: 2 961s Solution 961s opt 961s Cows 44 961s Bulls 24 961s Pigs 0 961s 961s Basic Variables 961s opt 961s Cows 44.0 961s Bulls 24.0 961s S Land 0.8 961s 961s Constraints 961s actual dir bvec free dual dual.reg 961s Land 39.2 <= 40 0.8 0.0 0.8 961s Stable 90.0 <= 90 0.0 240.0 15.0 961s Labor 2500.0 <= 2500 0.0 28.8 1375.0 961s 961s All Variables (including slack variables) 961s opt cvec min.c max.c marg marg.reg 961s Cows 44.0 1800 900 2400.000 NA NA 961s Bulls 24.0 600 450 1200.000 NA NA 961s Pigs 0.0 600 -Inf 1296.000 -696.0 6.25 961s S Land 0.8 0 NA 731.092 0.0 NA 961s S Stable 0.0 0 -Inf 240.000 -240.0 15.00 961s S Labor 0.0 0 -Inf 28.800 -28.8 1375.00 961s 961s 961s > all.equal( result1a, lpModel$res ) 961s [1] TRUE 961s > 961s > 961s > ## example 1.1.3 of Witte, Deppe and Born (1975) 961s > ## Two types of Feed 961s > cvec <- c(2.5, 2 ) # prices of feed 961s > names(cvec) <- c("Feed1","Feed2") 961s > 961s > ## Constraints (minimum (<0) and maximum (>0) contents) 961s > bvec <- c(-10, -1.5, 12) 961s > names(bvec) <- c("Protein","Fat","Fibre") 961s > 961s > ## Matrix A 961s > Amat <- rbind( c( -1.6, -2.4 ), 961s + c( -0.5, -0.2 ), 961s + c( 2.0, 2.0 ) ) 961s > 961s > ## solve the model 961s > result2a <- solveLP( cvec, bvec, Amat ) 961s > 961s > ## Write to a (virtual) MPS file 961s > mpsFile <- file() 961s > writeMps( mpsFile, cvec, bvec, Amat, "Steinhauser" ) 961s > 961s > ## write the lines of this file to the output file 961s > mpsLines <- readLines( mpsFile ) 961s > close( mpsFile ) 961s > print( mpsLines ) 961s [1] "NAME Steinhauser" 961s [2] "ROWS" 961s [3] " N obj" 961s [4] " L Protein" 961s [5] " L Fat" 961s [6] " L Fibre" 961s [7] "COLUMNS" 961s [8] " Feed1 obj 2.5" 961s [9] " Feed1 Protein -1.6" 961s [10] " Feed1 Fat -0.5" 961s [11] " Feed1 Fibre 2" 961s [12] " Feed2 obj 2" 961s [13] " Feed2 Protein -2.4" 961s [14] " Feed2 Fat -0.2" 961s [15] " Feed2 Fibre 2" 961s [16] "RHS" 961s [17] " RHS Protein -10" 961s [18] " RHS Fat -1.5" 961s [19] " RHS Fibre 12" 961s [20] "ENDATA" 961s > 961s > ## Write to a (virtual) MPS file again (for readMps) 961s > mpsFile <- file() 961s > writeMps( mpsFile, cvec, bvec, Amat, "Steinhauser" ) 961s > 961s > ## delete all LP objects 961s > rm( cvec, bvec, Amat ) 961s > 961s > ## Read LP data from MPS file and solve it. 961s > lpModel <- readMps( mpsFile, TRUE ) 961s > close( mpsFile ) 961s > 961s > ## Print the model and its result 961s > lpModel 961s $name 961s [1] "Steinhauser" 961s 961s $cvec 961s Feed1 Feed2 961s 2.5 2.0 961s 961s $bvec 961s Protein Fat Fibre 961s -10.0 -1.5 12.0 961s 961s $Amat 961s Feed1 Feed2 961s Protein -1.6 -2.4 961s Fat -0.5 -0.2 961s Fibre 2.0 2.0 961s 961s $res 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Minimum): 10.4545 961s 961s Iterations in phase 1: 2 961s Iterations in phase 2: 0 961s Solution 961s opt 961s Feed1 1.81818 961s Feed2 2.95455 961s 961s Basic Variables 961s opt 961s Feed1 1.81818 961s Feed2 2.95455 961s S Fibre 2.45455 961s 961s Constraints 961s actual dir bvec free dual dual.reg 961s Protein -10.00000 <= -10.0 0.00000 0.568182 3.60000 961s Fat -1.50000 <= -1.5 0.00000 3.181818 1.35000 961s Fibre 9.54545 <= 12.0 2.45455 0.000000 2.45455 961s 961s All Variables (including slack variables) 961s opt cvec min.c max.c marg marg.reg 961s Feed1 1.81818 2.5 -3.666667 5.000000 NA NA 961s Feed2 2.95455 2.0 -3.000000 3.750000 NA NA 961s S Protein 0.00000 0.0 -0.568182 Inf 0.568182 3.60 961s S Fat 0.00000 0.0 -3.181818 Inf 3.181818 1.35 961s S Fibre 2.45455 0.0 NA 0.833333 0.000000 NA 961s 961s 961s > all.equal( result2a, lpModel$res ) 961s [1] TRUE 961s > 961s BEGIN TEST equality_test.R 961s 961s R version 4.3.2 (2023-10-31) -- "Eye Holes" 961s Copyright (C) 2023 The R Foundation for Statistical Computing 961s Platform: x86_64-pc-linux-gnu (64-bit) 961s 961s R is free software and comes with ABSOLUTELY NO WARRANTY. 961s You are welcome to redistribute it under certain conditions. 961s Type 'license()' or 'licence()' for distribution details. 961s 961s R is a collaborative project with many contributors. 961s Type 'contributors()' for more information and 961s 'citation()' on how to cite R or R packages in publications. 961s 961s Type 'demo()' for some demos, 'help()' for on-line help, or 961s 'help.start()' for an HTML browser interface to help. 961s Type 'q()' to quit R. 961s 961s > library( "linprog" ) 961s Loading required package: lpSolve 961s > 961s > # min x1 + x2, s.t. x1 + 0.5 * x2 = 2 961s > cvec <- c( 1, 1 ) 961s > Amat <- matrix( c( 1, 0.5 ), nrow = 1 ) 961s > bvec <- 2 961s > a1 <- solveLP( cvec, bvec, Amat, const.dir = "=" ) 961s Warning message: 961s In solveLP(cvec, bvec, Amat, const.dir = "=") : 961s solveLP() might return incorrect results if the model includes equality constraints and argument 'lpSolve' is 'FALSE'; please check if solveLP() returns the same results with argument 'lpSolve' equal to 'TRUE'; more information on this bug available at linprog's R-Forge site 961s > print( a1 ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Minimum): 0 961s 961s Iterations in phase 1: 0 961s Iterations in phase 2: 0 961s Solution 961s opt 961s 1 0 961s 2 0 961s 961s Basic Variables 961s opt 961s S 1 0 961s 961s Constraints 961s actual dir bvec free dual dual.reg 961s 1 2 = 2 0 0 NA 961s 961s All Variables (including slack variables) 961s opt cvec min.c max.c marg marg.reg 961s 1 0 1 99 77 1 Inf 961s 2 0 1 99 77 1 Inf 961s S 1 0 0 NA NA 0 NA 961s 961s > 961s > a2 <- solveLP( cvec, bvec, Amat, const.dir = "=", lpSolve = TRUE ) 961s > print( a2 ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s (using lpSolve) 961s 961s Objective function (Minimum): 2 961s 961s Solution 961s opt 961s 1 2 961s 2 0 961s 961s Constraints 961s actual dir bvec free 961s 1 2 = 2 0 961s 961s > 961s > # max 27 * x1 + 9 * x2 961s > # s.t. x1 - x2 = 8 & x1 + x2 <= 74 961s > cvec <- c( 27, 9 ) 961s > bvec <- c( 8, 74 ) 961s > Amat <- matrix( c( 1, 1, -1, 1 ), nrow = 2 ) 961s > b1 <- solveLP( cvec, bvec, Amat, maximum = TRUE, const.dir = c( "==", "<=" ) ) 961s Warning message: 961s In solveLP(cvec, bvec, Amat, maximum = TRUE, const.dir = c("==", : 961s solveLP() might return incorrect results if the model includes equality constraints and argument 'lpSolve' is 'FALSE'; please check if solveLP() returns the same results with argument 'lpSolve' equal to 'TRUE'; more information on this bug available at li> print( b1 ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Maximum): nprog's R-Forge site 961s 1998 961s 961s Iterations in phase 1: 0 961s Iterations in phase 2: 1 961s Solution 961s opt 961s 1 74 961s 2 0 961s 961s Basic Variables 961s opt 961s 1 74 961s S 1 0 961s 961s Constraints 961s actual dir bvec free dual dual.reg 961s 1 8 == 8 0 0 NA 961s 2 74 <= 74 0 27 74 961s 961s All Variables (including slack variables) 961s opt cvec min.c max.c marg marg.reg 961s 1 74 27 9 Inf NA NA 961s 2 0 9 -Inf 27 -18 74 961s S 1 0 0 -Inf Inf 0 NA 961s S 2 0 0 -Inf 27 -27 74 961s 961s > 961s > b2 <- solveLP( cvec, bvec, Amat, maximum = TRUE, const.dir = c( "==", "<=" ), 961s + lpSolve = TRUE ) 961s > print( b2 ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s (using lpSolve) 961s 961s Objective function (Maximum): 1404 961s 961s Solution 961s opt 961s 1 41 961s 2 33 961s 961s Constraints 961s actual dir bvec free 961s 1 8 == 8 0 961s 2 74 <= 74 0 961s 961s > 961s BEGIN TEST linprog_tests.R 961s 961s R version 4.3.2 (2023-10-31) -- "Eye Holes" 961s Copyright (C) 2023 The R Foundation for Statistical Computing 961s Platform: x86_64-pc-linux-gnu (64-bit) 961s 961s R is free software and comes with ABSOLUTELY NO WARRANTY. 961s You are welcome to redistribute it under certain conditions. 961s Type 'license()' or 'licence()' for distribution details. 961s 961s R is a collaborative project with many contributors. 961s Type 'contributors()' for more information and 961s 'citation()' on how to cite R or R packages in publications. 961s 961s Type 'demo()' for some demos, 'help()' for on-line help, or 961s 'help.start()' for an HTML browser interface to help. 961s Type 'q()' to quit R. 961s 961s > library( linprog ) 961s Loading required package: lpSolve 961s > 961s > ## Example 1 961s > ## Steinhauser, Langbehn and Peters (1992) 961s > cvec <- c(1800, 600, 600) # gross margins 961s > names(cvec) <- c("Cows","Bulls","Pigs") 961s > bvec <- c(40, 90, 2500) # endowment 961s > names(bvec) <- c("Land","Stable","Labor") 961s > Amat <- rbind( c( 0.7, 0.35, 0 ), 961s + c( 1.5, 1, 3 ), 961s + c( 50, 12.5, 20 ) ) 961s > result1a <- solveLP( cvec, bvec, Amat, TRUE, verbose = 1 ) 961s > print( result1a ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Maximum): 93600 961s 961s Iterations in phase 1: 0 961s Iterations in phase 2: 2 961s Solution 961s opt 961s Cows 44 961s Bulls 24 961s Pigs 0 961s 961s Basic Variables 961s opt 961s Cows 44.0 961s Bulls 24.0 961s S Land 0.8 961s 961s Constraints 961s actual dir bvec free dual dual.reg 961s Land 39.2 <= 40 0.8 0.0 0.8 961s Stable 90.0 <= 90 0.0 240.0 15.0 961s Labor 2500.0 <= 2500 0.0 28.8 1375.0 961s 961s All Variables (including slack variables) 961s opt cvec min.c max.c marg marg.reg 961s Cows 44.0 1800 900 2400.000 NA NA 961s Bulls 24.0 600 450 1200.000 NA NA 961s Pigs 0.0 600 -Inf 1296.000 -696.0 6.25 961s S Land 0.8 0 NA 731.092 0.0 NA 961s S Stable 0.0 0 -Inf 240.000 -240.0 15.00 961s S Labor 0.0 0 -Inf 28.800 -28.8 1375.00 961s 961s > # print summary results 961s > summary( result1a ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Maximum): 93600 961s 961s Solution 961s opt 961s Cows 44 961s Bulls 24 961s Pigs 0 961s 961s > # print all elements of the returned object 961s > print.default( result1a ) 961s $status 961s [1] 0 961s 961s $opt 961s [1] 93600 961s 961s $iter1 961s [1] 0 961s 961s $iter2 961s [1] 2 961s 961s $allvar 961s opt cvec min.c max.c marg marg.reg 961s Cows 44.0 1800 900 2400.0000 NA NA 961s Bulls 24.0 600 450 1200.0000 NA NA 961s Pigs 0.0 600 -Inf 1296.0000 -696.0 6.25 961s S Land 0.8 0 NA 731.0924 0.0 NA 961s S Stable 0.0 0 -Inf 240.0000 -240.0 15.00 961s S Labor 0.0 0 -Inf 28.8000 -28.8 1375.00 961s 961s $basvar 961s opt 961s Cows 44.0 961s Bulls 24.0 961s S Land 0.8 961s 961s $solution 961s Cows Bulls Pigs 961s 44 24 0 961s 961s $con 961s actual dir bvec free dual dual.reg 961s Land 39.2 <= 40 0.8 0.0 0.8 961s Stable 90.0 <= 90 0.0 240.0 15.0 961s Labor 2500.0 <= 2500 0.0 28.8 1375.0 961s 961s $Tab 961s Cows Bulls Pigs S Land S Stable S Labor P0 961s Land 0 0 -0.952 1 -0.28 -0.0056 0.8 961s Bulls 0 1 3.840 0 1.60 -0.0480 24.0 961s Cows 1 0 -0.560 0 -0.40 0.0320 44.0 961s Z-C 0 0 696.000 0 240.00 28.8000 93600.0 961s 961s $maximum 961s [1] TRUE 961s 961s $lpSolve 961s [1] FALSE 961s 961s $solve.dual 961s [1] FALSE 961s 961s $maxiter 961s [1] 1000 961s 961s attr(,"class") 961s [1] "solveLP" 961s > # also estimate the dual problem 961s > result1aD <- solveLP( cvec, bvec, Amat, TRUE, verbose = 1, solve.dual = TRUE ) 961s > result1aD$con 961s actual dir bvec free dual dual.reg dual.p 961s Land 39.2 <= 40 0.8 0.0 0.8 0.0 961s Stable 90.0 <= 90 0.0 240.0 15.0 240.0 961s Labor 2500.0 <= 2500 0.0 28.8 1375.0 28.8 961s > all.equal( result1a[-c(8,12)], result1aD[-c(8,10,13)] ) 961s [1] TRUE 961s > 961s > # estimation with verbose = TRUE 961s > result1b <- solveLP( cvec, bvec, Amat, TRUE, verbose = 4 ) 961s [1] "initial Tableau" 961s Cows Bulls Pigs S Land S Stable S Labor P0 961s Land 0.7 0.35 0 1 0 0 40 961s Stable 1.5 1.00 3 0 1 0 90 961s Labor 50.0 12.50 20 0 0 1 2500 961s Z-C -1800.0 -600.00 -600 0 0 0 0 961s 961s Pivot Column: 1 ( Cows ) 961s Pivot Row: 3 ( Labor ) 961s 961s Cows Bulls Pigs S Land S Stable S Labor P0 961s Land 0 0.175 -0.28 1 0 -0.014 5 961s Stable 0 0.625 2.40 0 1 -0.030 15 961s Cows 1 0.250 0.40 0 0 0.020 50 961s Z-C 0 -150.000 120.00 0 0 36.000 90000 961s 961s Pivot Column: 2 ( Bulls ) 961s Pivot Row: 2 ( Stable ) 961s 961s Cows Bulls Pigs S Land S Stable S Labor P0 961s Land 0 0 -0.952 1 -0.28 -0.0056 0.8 961s Bulls 0 1 3.840 0 1.60 -0.0480 24.0 961s Cows 1 0 -0.560 0 -0.40 0.0320 44.0 961s Z-C 0 0 696.000 0 240.00 28.8000 93600.0 961s > all.equal( result1a, result1b ) 961s [1] TRUE 961s > # also estimate the dual problem 961s > result1bD <- solveLP( cvec, bvec, Amat, TRUE, verbose = 4, solve.dual = TRUE ) 961s [1] "initial Tableau" 961s Cows Bulls Pigs S Land S Stable S Labor P0 961s Land 0.7 0.35 0 1 0 0 40 961s Stable 1.5 1.00 3 0 1 0 90 961s Labor 50.0 12.50 20 0 0 1 2500 961s Z-C -1800.0 -600.00 -600 0 0 0 0 961s 961s Pivot Column: 1 ( Cows ) 961s Pivot Row: 3 ( Labor ) 961s 961s Cows Bulls Pigs S Land S Stable S Labor P0 961s Land 0 0.175 -0.28 1 0 -0.014 5 961s Stable 0 0.625 2.40 0 1 -0.030 15 961s Cows 1 0.250 0.40 0 0 0.020 50 961s Z-C 0 -150.000 120.00 0 0 36.000 90000 961s 961s Pivot Column: 2 ( Bulls ) 961s Pivot Row: 2 ( Stable ) 961s 961s Cows Bulls Pigs S Land S Stable S Labor P0 961s Land 0 0 -0.952 1 -0.28 -0.0056 0.8 961s Bulls 0 1 3.840 0 1.60 -0.0480 24.0 961s Cows 1 0 -0.560 0 -0.40 0.0320 44.0 961s Z-C 0 0 696.000 0 240.00 28.8000 93600.0 961s [1] "initial Tableau" 961s Land Stable Labor S Cows S Bulls S Pigs P0 961s Cows -0.70 -1.5 -50.0 1 0 0 -1800 961s Bulls -0.35 -1.0 -12.5 0 1 0 -600 961s Pigs 0.00 -3.0 -20.0 0 0 1 -600 961s Z-C 40.00 90.0 2500.0 0 0 0 0 961s [1] "initial Tableau for Phase 1" 961s Land Stable Labor S Cows S Bulls S Pigs M Cows M Bulls M Pigs P0 961s M Cows 0.70 1.5 50.0 -1 0 0 1 0 0 1800 961s M Bulls 0.35 1.0 12.5 0 -1 0 0 1 0 600 961s M Pigs 0.00 3.0 20.0 0 0 -1 0 0 1 600 961s Z-C 40.00 90.0 2500.0 0 0 0 0 0 0 0 961s M Z-C -1.05 -5.5 -82.5 1 1 1 0 0 0 -3000 961s 961s Pivot Column: 3 ( Labor ) 961s Pivot Row: 3 ( M Pigs ) 961s 961s Land Stable Labor S Cows S Bulls S Pigs M Cows M Bulls M Pigs 961s M Cows 0.70 -6.000 0 -1 0 2.500 1 0 -2.500 961s M Bulls 0.35 -0.875 0 0 -1 0.625 0 1 -0.625 961s Labor 0.00 0.150 1 0 0 -0.050 0 0 0.050 961s Z-C 40.00 -285.000 0 0 0 125.000 0 0 -125.000 961s M Z-C -1.05 6.875 0 1 1 -3.125 0 0 4.125 961s P0 961s M Cows 300 961s M Bulls 225 961s Labor 30 961s Z-C -75000 961s M Z-C -525 961s 961s Pivot Column: 1 ( Land ) 961s Pivot Row: 1 ( M Cows ) 961s 961s Land Stable Labor S Cows S Bulls S Pigs M Cows M Bulls 961s Land 1 -8.571429 0 -1.428571 0 3.571429 1.428571 0 961s M Bulls 0 2.125000 0 0.500000 -1 -0.625000 -0.500000 1 961s Labor 0 0.150000 1 0.000000 0 -0.050000 0.000000 0 961s Z-C 0 57.857143 0 57.142857 0 -17.857143 -57.142857 0 961s M Z-C 0 -2.125000 0 -0.500000 1 0.625000 1.500000 0 961s M Pigs P0 961s Land -3.571429 428.5714 961s M Bulls 0.625000 75.0000 961s Labor 0.050000 30.0000 961s Z-C 17.857143 -92142.8571 961s M Z-C 0.375000 -75.0000 961s 961s Pivot Column: 4 ( S Cows ) 961s Pivot Row: 2 ( M Bulls ) 961s 961s Land Stable Labor S Cows S Bulls S Pigs M Cows 961s Land 1 -2.500000e+00 0 0 -2.857143e+00 1.785714e+00 0 961s S Cows 0 4.250000e+00 0 1 -2.000000e+00 -1.250000e+00 -1 961s Labor 0 1.500000e-01 1 0 0.000000e+00 -5.000000e-02 0 961s Z-C 0 -1.850000e+02 0 0 1.142857e+02 5.357143e+01 0 961s M Z-C 0 4.440892e-16 0 0 4.440892e-16 -2.220446e-16 1 961s M Bulls M Pigs P0 961s Land 2.857143 -1.785714 6.428571e+02 961s S Cows 2.000000 1.250000 1.500000e+02 961s Labor 0.000000 0.050000 3.000000e+01 961s Z-C -114.285714 -53.571429 -1.007143e+05 961s M Z-C 1.000000 1.000000 -8.526513e-14 961s [1] "New starting Tableau for Phase II" 961s Land Stable Labor S Cows S Bulls S Pigs 961s Land 1 -2.50 0 0 -2.857143 1.785714 642.8571 961s S Cows 0 4.25 0 1 -2.000000 -1.250000 150.0000 961s Labor 0 0.15 1 0 0.000000 -0.050000 30.0000 961s Z-C 0 -185.00 0 0 114.285714 53.571429 -100714.2857 961s 961s Pivot Column: 2 ( Stable ) 961s Pivot Row: 2 ( S Cows ) 961s 961s Land Stable Labor S Cows S Bulls S Pigs 961s Land 1 0 0 0.58823529 -4.03361345 1.050420168 731.09244 961s Stable 0 1 0 0.23529412 -0.47058824 -0.294117647 35.29412 961s Labor 0 0 1 -0.03529412 0.07058824 -0.005882353 24.70588 961s Z-C 0 0 0 43.52941176 27.22689076 -0.840336134 -94184.87395 961s 961s Pivot Column: 6 ( S Pigs ) 961s Pivot Row: 1 ( Land ) 961s 961s Land Stable Labor S Cows S Bulls S Pigs 961s S Pigs 0.9520 0 0 0.560 -3.840 1 696.0 961s Stable 0.2800 1 0 0.400 -1.600 0 240.0 961s Labor 0.0056 0 1 -0.032 0.048 0 28.8 961s Z-C 0.8000 0 0 44.000 24.000 0 -93600.0 961s > all.equal( result1aD, result1bD ) 961s [1] TRUE 961s > 961s > # estimation with lpSolve 961s > result1c <- solveLP( cvec, bvec, Amat, TRUE, lpSolve = TRUE, verbose = 4 ) 961s > print( result1c ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s (using lpSolve) 961s 961s Objective function (Maximum): 93600 961s 961s Solution 961s opt 961s Cows 44 961s Bulls 24 961s Pigs 0 961s 961s Constraints 961s actual dir bvec free 961s Land 39.2 <= 40 0.8 961s Stable 90.0 <= 90 0.0 961s Labor 2500.0 <= 2500 0.0 961s 961s > # print summary results 961s > summary( result1c ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Maximum): 93600 961s 961s Solution 961s opt 961s Cows 44 961s Bulls 24 961s Pigs 0 961s 961s > # print all elements of the returned object 961s > print.default( result1c ) 961s $status 961s [1] 0 961s 961s $lpStatus 961s [1] 0 961s 961s $solution 961s Cows Bulls Pigs 961s 44 24 0 961s 961s $opt 961s [1] 93600 961s 961s $con 961s actual dir bvec free 961s Land 39.2 <= 40 0.8 961s Stable 90.0 <= 90 0.0 961s Labor 2500.0 <= 2500 0.0 961s 961s $maximum 961s [1] TRUE 961s 961s $lpSolve 961s [1] TRUE 961s 961s $solve.dual 961s [1] FALSE 961s 961s $maxiter 961s [1] 1000 961s 961s attr(,"class") 961s [1] "solveLP" 961s > # also estimate the dual problem 961s > result1cD <- solveLP( cvec, bvec, Amat, TRUE, lpSolve = TRUE, solve.dual = TRUE ) 961s > result1cD$con 961s actual dir bvec free dual 961s Land 39.2 <= 40 0.8 0.0 961s Stable 90.0 <= 90 0.0 240.0 961s Labor 2500.0 <= 2500 0.0 28.8 961s > all.equal( result1c[-c(5,8)], result1cD[-c(5,6,9)] ) 961s [1] TRUE 961s > 961s > # using argument const.dir 961s > const.dir <- c( ">=", ">=", ">=" ) 961s > result1d <- solveLP( cvec, -bvec, -Amat, maximum = TRUE, verbose = 1, 961s + const.dir = const.dir ) 961s > print( result1d ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Maximum): 93600 961s 961s Iterations in phase 1: 0 961s Iterations in phase 2: 2 961s Solution 961s opt 961s Cows 44 961s Bulls 24 961s Pigs 0 961s 961s Basic Variables 961s opt 961s Cows 44.0 961s Bulls 24.0 961s S Land 0.8 961s 961s Constraints 961s actual dir bvec free dual dual.reg 961s Land -39.2 >= -40 0.8 0.0 0.8 961s Stable -90.0 >= -90 0.0 240.0 15.0 961s Labor -2500.0 >= -2500 0.0 28.8 1375.0 961s 961s All Variables (including slack variables) 961s opt cvec min.c max.c marg marg.reg 961s Cows 44.0 1800 900 2400.000 NA NA 961s Bulls 24.0 600 450 1200.000 NA NA 961s Pigs 0.0 600 -Inf 1296.000 -696.0 6.25 961s S Land 0.8 0 NA 731.092 0.0 NA 961s S Stable 0.0 0 -Inf 240.000 -240.0 15.00 961s S Labor 0.0 0 -Inf 28.800 -28.8 1375.00 961s 961s > all.equal( result1a[-8], result1d[-8] ) 961s [1] TRUE 961s > # also estimate the dual problem 961s > result1dD <- solveLP( cvec, -bvec, -Amat, TRUE, verbose = 1, 961s + const.dir = const.dir, solve.dual = TRUE ) 961s > result1dD$con 961s actual dir bvec free dual dual.reg dual.p 961s Land -39.2 >= -40 0.8 0.0 0.8 0.0 961s Stable -90.0 >= -90 0.0 240.0 15.0 240.0 961s Labor -2500.0 >= -2500 0.0 28.8 1375.0 28.8 961s > all.equal( result1aD[-8], result1dD[-8] ) 961s [1] TRUE 961s > 961s > # using argument const.dir and lpSolve 961s > result1e <-solveLP( cvec, -bvec, -Amat, maximum = TRUE, verbose = 1, 961s + const.dir = const.dir, lpSolve = TRUE ) 961s > print( result1e ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s (using lpSolve) 961s 961s Objective function (Maximum): 93600 961s 961s Solution 961s opt 961s Cows 44 961s Bulls 24 961s Pigs 0 961s 961s Constraints 961s actual dir bvec free 961s Land -39.2 >= -40 0.8 961s Stable -90.0 >= -90 0.0 961s Labor -2500.0 >= -2500 0.0 961s 961s > all.equal( result1c[-5], result1e[-5] ) 961s [1] TRUE 961s > # also estimate the dual problem 961s > result1eD <- solveLP( cvec, -bvec, -Amat, TRUE, verbose = 1, 961s + const.dir = const.dir, lpSolve = TRUE, solve.dual = TRUE ) 961s > result1eD$con 961s actual dir bvec free dual 961s Land -39.2 >= -40 0.8 0.0 961s Stable -90.0 >= -90 0.0 240.0 961s Labor -2500.0 >= -2500 0.0 28.8 961s > all.equal( result1cD[-5], result1eD[-5] ) 961s [1] TRUE 961s > 961s > 961s > ## Example 2 961s > ## example 1.1.3 of Witte, Deppe and Born (1975) 961s > cvec <- c(2.5, 2 ) # prices of feed 961s > names(cvec) <- c("Feed1","Feed2") 961s > bvec <- c( -10, -1.5, 12) 961s > names(bvec) <- c("Protein","Fat","Fibre") 961s > Amat <- rbind( c(-1.6,-2.4 ), 961s + c(-0.5,-0.2 ), 961s + c( 2.0, 2.0 ) ) 961s > result2a <- solveLP( cvec, bvec, Amat, verbose = 1 ) 961s > print( result2a ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Minimum): 10.4545 961s 961s Iterations in phase 1: 2 961s Iterations in phase 2: 0 961s Solution 961s opt 961s Feed1 1.81818 961s Feed2 2.95455 961s 961s Basic Variables 961s opt 961s Feed1 1.81818 961s Feed2 2.95455 961s S Fibre 2.45455 961s 961s Constraints 961s actual dir bvec free dual dual.reg 961s Protein -10.00000 <= -10.0 0.00000 0.568182 3.60000 961s Fat -1.50000 <= -1.5 0.00000 3.181818 1.35000 961s Fibre 9.54545 <= 12.0 2.45455 0.000000 2.45455 961s 961s All Variables (including slack variables) 961s opt cvec min.c max.c marg marg.reg 961s Feed1 1.81818 2.5 -3.666667 5.000000 NA NA 961s Feed2 2.95455 2.0 -3.000000 3.750000 NA NA 961s S Protein 0.00000 0.0 -0.568182 Inf 0.568182 3.60 961s S Fat 0.00000 0.0 -3.181818 Inf 3.181818 1.35 961s S Fibre 2.45455 0.0 NA 0.833333 0.000000 NA 961s 961s > # print summary results 961s > summary( result2a ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Minimum): 10.45455 961s 961s Solution 961s opt 961s Feed1 1.818182 961s Feed2 2.954545 961s 961s > # print all elements of the returned object 961s > print.default( result2a ) 961s $status 961s [1] 0 961s 961s $opt 961s [1] 10.45455 961s 961s $iter1 961s [1] 2 961s 961s $iter2 961s [1] 0 961s 961s $allvar 961s opt cvec min.c max.c marg marg.reg 961s Feed1 1.818182 2.5 -3.6666667 5.0000000 NA NA 961s Feed2 2.954545 2.0 -3.0000000 3.7500000 NA NA 961s S Protein 0.000000 0.0 -0.5681818 Inf 0.5681818 3.60 961s S Fat 0.000000 0.0 -3.1818182 Inf 3.1818182 1.35 961s S Fibre 2.454545 0.0 NA 0.8333333 0.0000000 NA 961s 961s $basvar 961s opt 961s Feed1 1.818182 961s Feed2 2.954545 961s S Fibre 2.454545 961s 961s $solution 961s Feed1 Feed2 961s 1.818182 2.954545 961s 961s $con 961s actual dir bvec free dual dual.reg 961s Protein -10.000000 <= -10.0 0.000000 0.5681818 3.600000 961s Fat -1.500000 <= -1.5 0.000000 3.1818182 1.350000 961s Fibre 9.545455 <= 12.0 2.454545 0.0000000 2.454545 961s 961s $Tab 961s Feed1 Feed2 S Protein S Fat S Fibre 961s Feed2 0 1 -0.5681818 1.818182 0 2.954545 961s Feed1 1 0 0.2272727 -2.727273 0 1.818182 961s Fibre 0 0 0.6818182 1.818182 1 2.454545 961s Z-C 0 0 0.5681818 3.181818 0 -10.454545 961s 961s $maximum 961s [1] FALSE 961s 961s $lpSolve 961s [1] FALSE 961s 961s $solve.dual 961s [1] FALSE 961s 961s $maxiter 961s [1] 1000 961s 961s attr(,"class") 961s [1] "solveLP" 961s > # also estimate the dual problem 961s > result2aD <- solveLP( cvec, bvec, Amat, verbose = 1, solve.dual = TRUE ) 961s > result2aD$con 961s actual dir bvec free dual dual.reg dual.p 961s Protein -10.000000 <= -10.0 0.000000 0.5681818 3.600000 0.5681818 961s Fat -1.500000 <= -1.5 0.000000 3.1818182 1.350000 3.1818182 961s Fibre 9.545455 <= 12.0 2.454545 0.0000000 2.454545 0.0000000 961s > all.equal( result2a[-c(8,12)], result2aD[-c(8,10,13)] ) 961s [1] TRUE 961s > 961s > # estimation with verbose = TRUE 961s > result2b <- solveLP( cvec, bvec, Amat, verbose = 4 ) 961s [1] "initial Tableau" 961s Feed1 Feed2 S Protein S Fat S Fibre P0 961s Protein -1.6 -2.4 1 0 0 -10.0 961s Fat -0.5 -0.2 0 1 0 -1.5 961s Fibre 2.0 2.0 0 0 1 12.0 961s Z-C 2.5 2.0 0 0 0 0.0 961s [1] "initial Tableau for Phase 1" 961s Feed1 Feed2 S Protein S Fat S Fibre M Protein M Fat P0 961s M Protein 1.6 2.4 -1 0 0 1 0 10.0 961s M Fat 0.5 0.2 0 -1 0 0 1 1.5 961s Fibre 2.0 2.0 0 0 1 0 0 12.0 961s Z-C 2.5 2.0 0 0 0 0 0 0.0 961s M Z-C -2.1 -2.6 1 1 0 0 0 -11.5 961s 961s Pivot Column: 2 ( Feed2 ) 961s Pivot Row: 1 ( M Protein ) 961s 961s Feed1 Feed2 S Protein S Fat S Fibre M Protein M Fat P0 961s Feed2 0.6666667 1 -0.41666667 0 0 0.41666667 0 4.1666667 961s M Fat 0.3666667 0 0.08333333 -1 0 -0.08333333 1 0.6666667 961s Fibre 0.6666667 0 0.83333333 0 1 -0.83333333 0 3.6666667 961s Z-C 1.1666667 0 0.83333333 0 0 -0.83333333 0 -8.3333333 961s M Z-C -0.3666667 0 -0.08333333 1 0 1.08333333 0 -0.6666667 961s 961s Pivot Column: 1 ( Feed1 ) 961s Pivot Row: 2 ( M Fat ) 961s 961s Feed1 Feed2 S Protein S Fat S Fibre M Protein M Fat 961s Feed2 0 1 -5.681818e-01 1.818182e+00 0 0.5681818 -1.818182 961s Feed1 1 0 2.272727e-01 -2.727273e+00 0 -0.2272727 2.727273 961s Fibre 0 0 6.818182e-01 1.818182e+00 1 -0.6818182 -1.818182 961s Z-C 0 0 5.681818e-01 3.181818e+00 0 -0.5681818 -3.181818 961s M Z-C 0 0 -1.804112e-16 4.440892e-16 0 1.0000000 1.000000 961s P0 961s Feed2 2.954545e+00 961s Feed1 1.818182e+00 961s Fibre 2.454545e+00 961s Z-C -1.045455e+01 961s M Z-C 1.110223e-16 961s [1] "New starting Tableau for Phase II" 961s Feed1 Feed2 S Protein S Fat S Fibre 961s Feed2 0 1 -0.5681818 1.818182 0 2.954545 961s Feed1 1 0 0.2272727 -2.727273 0 1.818182 961s Fibre 0 0 0.6818182 1.818182 1 2.454545 961s Z-C 0 0 0.5681818 3.181818 0 -10.454545 961s > all.equal( result1a, result1b ) 961s [1] TRUE 961s > # also estimate the dual problem 961s > result2bD <- solveLP( cvec, bvec, Amat, verbose = 4, solve.dual = TRUE ) 961s [1] "initial Tableau" 961s Feed1 Feed2 S Protein S Fat S Fibre P0 961s Protein -1.6 -2.4 1 0 0 -10.0 961s Fat -0.5 -0.2 0 1 0 -1.5 961s Fibre 2.0 2.0 0 0 1 12.0 961s Z-C 2.5 2.0 0 0 0 0.0 961s [1] "initial Tableau for Phase 1" 961s Feed1 Feed2 S Protein S Fat S Fibre M Protein M Fat P0 961s M Protein 1.6 2.4 -1 0 0 1 0 10.0 961s M Fat 0.5 0.2 0 -1 0 0 1 1.5 961s Fibre 2.0 2.0 0 0 1 0 0 12.0 961s Z-C 2.5 2.0 0 0 0 0 0 0.0 961s M Z-C -2.1 -2.6 1 1 0 0 0 -11.5 961s 961s Pivot Column: 2 ( Feed2 ) 961s Pivot Row: 1 ( M Protein ) 961s 961s Feed1 Feed2 S Protein S Fat S Fibre M Protein M Fat P0 961s Feed2 0.6666667 1 -0.41666667 0 0 0.41666667 0 4.1666667 961s M Fat 0.3666667 0 0.08333333 -1 0 -0.08333333 1 0.6666667 961s Fibre 0.6666667 0 0.83333333 0 1 -0.83333333 0 3.6666667 961s Z-C 1.1666667 0 0.83333333 0 0 -0.83333333 0 -8.3333333 961s M Z-C -0.3666667 0 -0.08333333 1 0 1.08333333 0 -0.6666667 961s 961s Pivot Column: 1 ( Feed1 ) 961s Pivot Row: 2 ( M Fat ) 961s 961s Feed1 Feed2 S Protein S Fat S Fibre M Protein M Fat 961s Feed2 0 1 -5.681818e-01 1.818182e+00 0 0.5681818 -1.818182 961s Feed1 1 0 2.272727e-01 -2.727273e+00 0 -0.2272727 2.727273 961s Fibre 0 0 6.818182e-01 1.818182e+00 1 -0.6818182 -1.818182 961s Z-C 0 0 5.681818e-01 3.181818e+00 0 -0.5681818 -3.181818 961s M Z-C 0 0 -1.804112e-16 4.440892e-16 0 1.0000000 1.000000 961s P0 961s Feed2 2.954545e+00 961s Feed1 1.818182e+00 961s Fibre 2.454545e+00 961s Z-C -1.045455e+01 961s M Z-C 1.110223e-16 961s [1] "New starting Tableau for Phase II" 961s Feed1 Feed2 S Protein S Fat S Fibre 961s Feed2 0 1 -0.5681818 1.818182 0 2.954545 961s Feed1 1 0 0.2272727 -2.727273 0 1.818182 961s Fibre 0 0 0.6818182 1.818182 1 2.454545 961s Z-C 0 0 0.5681818 3.181818 0 -10.454545 961s [1] "initial Tableau" 961s Protein Fat Fibre S Feed1 S Feed2 P0 961s Feed1 1.6 0.5 -2 1 0 2.5 961s Feed2 2.4 0.2 -2 0 1 2.0 961s Z-C -10.0 -1.5 12 0 0 0.0 961s 961s Pivot Column: 1 ( Protein ) 961s Pivot Row: 2 ( Feed2 ) 961s 961s Protein Fat Fibre S Feed1 S Feed2 P0 961s Feed1 0 0.36666667 -0.6666667 1 -0.6666667 1.1666667 961s Protein 1 0.08333333 -0.8333333 0 0.4166667 0.8333333 961s Z-C 0 -0.66666667 3.6666667 0 4.1666667 8.3333333 961s 961s Pivot Column: 2 ( Fat ) 961s Pivot Row: 1 ( Feed1 ) 961s 961s Protein Fat Fibre S Feed1 S Feed2 P0 961s Fat 0 1 -1.8181818 2.7272727 -1.8181818 3.1818182 961s Protein 1 0 -0.6818182 -0.2272727 0.5681818 0.5681818 961s Z-C 0 0 2.4545455 1.8181818 2.9545455 10.4545455 961s > all.equal( result2aD, result2bD ) 961s [1] TRUE 961s > 961s > # estimation with lpSolve 961s > result2c <- solveLP( cvec, bvec, Amat, lpSolve = TRUE, verbose = 4 ) 961s > print( result2c ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s (using lpSolve) 961s 961s Objective function (Minimum): 10.4545 961s 961s Solution 961s opt 961s Feed1 1.81818 961s Feed2 2.95455 961s 961s Constraints 961s actual dir bvec free 961s Protein -10.00000 <= -10.0 0.00000 961s Fat -1.50000 <= -1.5 0.00000 961s Fibre 9.54545 <= 12.0 2.45455 961s 961s > # print summary results 961s > summary( result2c ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Minimum): 10.45455 961s 961s Solution 961s opt 961s Feed1 1.818182 961s Feed2 2.954545 961s 961s > # print all elements of the returned object 961s > print.default( result2c ) 961s $status 961s [1] 0 961s 961s $lpStatus 961s [1] 0 961s 961s $solution 961s Feed1 Feed2 961s 1.818182 2.954545 961s 961s $opt 961s [1] 10.45455 961s 961s $con 961s actual dir bvec free 961s Protein -10.000000 <= -10.0 0.000000 961s Fat -1.500000 <= -1.5 0.000000 961s Fibre 9.545455 <= 12.0 2.454545 961s 961s $maximum 961s [1] FALSE 961s 961s $lpSolve 961s [1] TRUE 961s 961s $solve.dual 961s [1] FALSE 961s 961s $maxiter 961s [1] 1000 961s 961s attr(,"class") 961s [1] "solveLP" 961s > # also estimate the dual problem 961s > result2cD <- solveLP( cvec, bvec, Amat, lpSolve = TRUE, verbose = 4, 961s + solve.dual = TRUE ) 961s > result2cD$con 961s actual dir bvec free dual 961s Protein -10.000000 <= -10.0 0.000000 0.5681818 961s Fat -1.500000 <= -1.5 0.000000 3.1818182 961s Fibre 9.545455 <= 12.0 2.454545 0.0000000 961s > all.equal( result2c[-c(5,8)], result2cD[-c(5,6,9)] ) 961s [1] TRUE 961s > 961s > # using argument const.dir 961s > const.dir <- c( ">=", ">=", "<=" ) 961s > result2d <- solveLP( cvec, abs( bvec ), abs( Amat ), verbose = 1, 961s + const.dir = const.dir ) 961s > print( result2d ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s 961s Objective function (Minimum): 10.4545 961s 961s Iterations in phase 1: 2 961s Iterations in phase 2: 0 961s Solution 961s opt 961s Feed1 1.81818 961s Feed2 2.95455 961s 961s Basic Variables 961s opt 961s Feed1 1.81818 961s Feed2 2.95455 961s S Fibre 2.45455 961s 961s Constraints 961s actual dir bvec free dual dual.reg 961s Protein 10.00000 >= 10.0 0.00000 0.568182 3.60000 961s Fat 1.50000 >= 1.5 0.00000 3.181818 1.35000 961s Fibre 9.54545 <= 12.0 2.45455 0.000000 2.45455 961s 961s All Variables (including slack variables) 961s opt cvec min.c max.c marg marg.reg 961s Feed1 1.81818 2.5 -3.666667 5.000000 NA NA 961s Feed2 2.95455 2.0 -3.000000 3.750000 NA NA 961s S Protein 0.00000 0.0 -0.568182 Inf 0.568182 3.60 961s S Fat 0.00000 0.0 -3.181818 Inf 3.181818 1.35 961s S Fibre 2.45455 0.0 NA 0.833333 0.000000 NA 961s 961s > all.equal( result2a[-8], result2d[-8] ) 961s [1] TRUE 961s > # also estimate the dual problem 961s > result2dD <- solveLP( cvec, abs( bvec ), abs( Amat ), verbose = 1, 961s + const.dir = const.dir, solve.dual = TRUE ) 961s > result2dD$con 961s actual dir bvec free dual dual.reg dual.p 961s Protein 10.000000 >= 10.0 0.000000 0.5681818 3.600000 0.5681818 961s Fat 1.500000 >= 1.5 0.000000 3.1818182 1.350000 3.1818182 961s Fibre 9.545455 <= 12.0 2.454545 0.0000000 2.454545 0.0000000 961s > all.equal( result2aD[-8], result2dD[-8] ) 961s [1] TRUE 961s > 961s > # using argument const.dir and lpSolve 961s > result2e <- solveLP( cvec, abs( bvec ), abs( Amat ), verbose = 1, 961s + const.dir = const.dir, lpSolve = TRUE ) 961s > print( result2e ) 961s 961s 961s Results of Linear Programming / Linear Optimization 961s (using lpSolve) 961s 961s Objective function (Minimum): 10.4545 961s 961s Solution 961s opt 961s Feed1 1.81818 961s Feed2 2.95455 961s 961s Constraints 961s actual dir bvec free 961s Protein 10.00000 >= 10.0 0.00000 961s Fat 1.50000 >= 1.5 0.00000 961s Fibre 9.54545 <= 12.0 2.45455 961s 961s > all.equal( result2c[-5], result2e[-5] ) 961s [1] TRUE 961s > # also estimate the dual problem 961s > result2eD <- solveLP( cvec, abs( bvec ), abs( Amat ), verbose = 1, 961s + const.dir = const.dir, lpSolve = TRUE, solve.dual = TRUE ) 961s > result2eD$con 961s actual dir bvec free dual 961s Protein 10.000000 >= 10.0 0.000000 0.5681818 961s Fat 1.500000 >= 1.5 0.000000 3.1818182 961s Fibre 9.545455 <= 12.0 2.454545 0.0000000 961s > all.equal( result2cD[-5], result2eD[-5] ) 961s [1] TRUE 961s > 961s > 961s > 962s autopkgtest [00:22:54]: test run-unit-test: -----------------------] 962s autopkgtest [00:22:54]: test run-unit-test: - - - - - - - - - - results - - - - - - - - - - 962s run-unit-test PASS 962s autopkgtest [00:22:54]: test pkg-r-autopkgtest: preparing testbed 964s Note, using file '/tmp/autopkgtest.gzAB9D/3-autopkgtest-satdep.dsc' to get the build dependencies 964s Reading package lists... 965s Building dependency tree... 965s Reading state information... 965s Starting pkgProblemResolver with broken count: 0 965s Starting 2 pkgProblemResolver with broken count: 0 965s Done 965s The following NEW packages will be installed: 965s dctrl-tools gfortran gfortran-13 gfortran-13-x86-64-linux-gnu 965s gfortran-x86-64-linux-gnu icu-devtools libblas-dev libbz2-dev 965s libgfortran-13-dev libicu-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev 965s liblapack-dev liblzma-dev libncurses-dev libpcre2-16-0 libpcre2-32-0 965s libpcre2-dev libpcre2-posix3 libpkgconf3 libpng-dev libreadline-dev 965s pkg-config pkg-r-autopkgtest pkgconf pkgconf-bin r-base-dev zlib1g-dev 965s 0 upgraded, 29 newly installed, 0 to remove and 0 not upgraded. 965s Need to get 33.6 MB of archives. 965s After this operation, 130 MB of additional disk space will be used. 965s Get:1 http://ftpmaster.internal/ubuntu noble/main amd64 dctrl-tools amd64 2.24-3build2 [66.9 kB] 965s Get:2 http://ftpmaster.internal/ubuntu noble/main amd64 libgfortran-13-dev amd64 13.2.0-17ubuntu2 [942 kB] 965s Get:3 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran-13-x86-64-linux-gnu amd64 13.2.0-17ubuntu2 [11.6 MB] 966s Get:4 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran-13 amd64 13.2.0-17ubuntu2 [10.3 kB] 966s Get:5 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1024 B] 966s Get:6 http://ftpmaster.internal/ubuntu noble/main amd64 gfortran amd64 4:13.2.0-7ubuntu1 [1176 B] 966s Get:7 http://ftpmaster.internal/ubuntu noble/main amd64 icu-devtools amd64 74.2-1ubuntu1 [212 kB] 966s Get:8 http://ftpmaster.internal/ubuntu noble/main amd64 libblas-dev amd64 3.12.0-3 [170 kB] 966s Get:9 http://ftpmaster.internal/ubuntu noble/main amd64 libbz2-dev amd64 1.0.8-5ubuntu1 [33.6 kB] 966s Get:10 http://ftpmaster.internal/ubuntu noble/main amd64 libicu-dev amd64 74.2-1ubuntu1 [11.9 MB] 966s Get:11 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg-turbo8-dev amd64 2.1.5-2ubuntu1 [294 kB] 966s Get:12 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg8-dev amd64 8c-2ubuntu11 [1484 B] 966s Get:13 http://ftpmaster.internal/ubuntu noble/main amd64 libjpeg-dev amd64 8c-2ubuntu11 [1482 B] 966s Get:14 http://ftpmaster.internal/ubuntu noble/main amd64 liblapack-dev amd64 3.12.0-3 [5196 kB] 966s Get:15 http://ftpmaster.internal/ubuntu noble/main amd64 libncurses-dev amd64 6.4+20240113-1ubuntu1 [384 kB] 966s Get:16 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-16-0 amd64 10.42-4ubuntu1 [211 kB] 966s Get:17 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-32-0 amd64 10.42-4ubuntu1 [198 kB] 966s Get:18 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-posix3 amd64 10.42-4ubuntu1 [6808 B] 966s Get:19 http://ftpmaster.internal/ubuntu noble/main amd64 libpcre2-dev amd64 10.42-4ubuntu1 [743 kB] 966s Get:20 http://ftpmaster.internal/ubuntu noble/main amd64 libpkgconf3 amd64 1.8.1-2 [31.1 kB] 966s Get:21 http://ftpmaster.internal/ubuntu noble/main amd64 zlib1g-dev amd64 1:1.3.dfsg-3ubuntu1 [896 kB] 966s Get:22 http://ftpmaster.internal/ubuntu noble/main amd64 libpng-dev amd64 1.6.43-1 [264 kB] 966s Get:23 http://ftpmaster.internal/ubuntu noble/main amd64 libreadline-dev amd64 8.2-3 [167 kB] 966s Get:24 http://ftpmaster.internal/ubuntu noble/main amd64 pkgconf-bin amd64 1.8.1-2 [20.7 kB] 966s Get:25 http://ftpmaster.internal/ubuntu noble/main amd64 pkgconf amd64 1.8.1-2 [16.8 kB] 966s Get:26 http://ftpmaster.internal/ubuntu noble/main amd64 pkg-config amd64 1.8.1-2 [7170 B] 966s Get:27 http://ftpmaster.internal/ubuntu noble/main amd64 liblzma-dev amd64 5.4.5-0.3 [205 kB] 966s Get:28 http://ftpmaster.internal/ubuntu noble/universe amd64 r-base-dev all 4.3.2-1build1 [4336 B] 966s Get:29 http://ftpmaster.internal/ubuntu noble/universe amd64 pkg-r-autopkgtest all 20231212ubuntu1 [6448 B] 966s Fetched 33.6 MB in 0s (105 MB/s) 966s Selecting previously unselected package dctrl-tools. 966s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 76494 files and directories currently installed.) 966s Preparing to unpack .../00-dctrl-tools_2.24-3build2_amd64.deb ... 966s Unpacking dctrl-tools (2.24-3build2) ... 966s Selecting previously unselected package libgfortran-13-dev:amd64. 966s Preparing to unpack .../01-libgfortran-13-dev_13.2.0-17ubuntu2_amd64.deb ... 966s Unpacking libgfortran-13-dev:amd64 (13.2.0-17ubuntu2) ... 966s Selecting previously unselected package gfortran-13-x86-64-linux-gnu. 966s Preparing to unpack .../02-gfortran-13-x86-64-linux-gnu_13.2.0-17ubuntu2_amd64.deb ... 966s Unpacking gfortran-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 966s Selecting previously unselected package gfortran-13. 966s Preparing to unpack .../03-gfortran-13_13.2.0-17ubuntu2_amd64.deb ... 966s Unpacking gfortran-13 (13.2.0-17ubuntu2) ... 966s Selecting previously unselected package gfortran-x86-64-linux-gnu. 966s Preparing to unpack .../04-gfortran-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ... 966s Unpacking gfortran-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 966s Selecting previously unselected package gfortran. 966s Preparing to unpack .../05-gfortran_4%3a13.2.0-7ubuntu1_amd64.deb ... 966s Unpacking gfortran (4:13.2.0-7ubuntu1) ... 967s Selecting previously unselected package icu-devtools. 967s Preparing to unpack .../06-icu-devtools_74.2-1ubuntu1_amd64.deb ... 967s Unpacking icu-devtools (74.2-1ubuntu1) ... 967s Selecting previously unselected package libblas-dev:amd64. 967s Preparing to unpack .../07-libblas-dev_3.12.0-3_amd64.deb ... 967s Unpacking libblas-dev:amd64 (3.12.0-3) ... 967s Selecting previously unselected package libbz2-dev:amd64. 967s Preparing to unpack .../08-libbz2-dev_1.0.8-5ubuntu1_amd64.deb ... 967s Unpacking libbz2-dev:amd64 (1.0.8-5ubuntu1) ... 967s Selecting previously unselected package libicu-dev:amd64. 967s Preparing to unpack .../09-libicu-dev_74.2-1ubuntu1_amd64.deb ... 967s Unpacking libicu-dev:amd64 (74.2-1ubuntu1) ... 967s Selecting previously unselected package libjpeg-turbo8-dev:amd64. 967s Preparing to unpack .../10-libjpeg-turbo8-dev_2.1.5-2ubuntu1_amd64.deb ... 967s Unpacking libjpeg-turbo8-dev:amd64 (2.1.5-2ubuntu1) ... 967s Selecting previously unselected package libjpeg8-dev:amd64. 967s Preparing to unpack .../11-libjpeg8-dev_8c-2ubuntu11_amd64.deb ... 967s Unpacking libjpeg8-dev:amd64 (8c-2ubuntu11) ... 967s Selecting previously unselected package libjpeg-dev:amd64. 967s Preparing to unpack .../12-libjpeg-dev_8c-2ubuntu11_amd64.deb ... 967s Unpacking libjpeg-dev:amd64 (8c-2ubuntu11) ... 967s Selecting previously unselected package liblapack-dev:amd64. 967s Preparing to unpack .../13-liblapack-dev_3.12.0-3_amd64.deb ... 967s Unpacking liblapack-dev:amd64 (3.12.0-3) ... 967s Selecting previously unselected package libncurses-dev:amd64. 967s Preparing to unpack .../14-libncurses-dev_6.4+20240113-1ubuntu1_amd64.deb ... 967s Unpacking libncurses-dev:amd64 (6.4+20240113-1ubuntu1) ... 967s Selecting previously unselected package libpcre2-16-0:amd64. 967s Preparing to unpack .../15-libpcre2-16-0_10.42-4ubuntu1_amd64.deb ... 967s Unpacking libpcre2-16-0:amd64 (10.42-4ubuntu1) ... 967s Selecting previously unselected package libpcre2-32-0:amd64. 967s Preparing to unpack .../16-libpcre2-32-0_10.42-4ubuntu1_amd64.deb ... 967s Unpacking libpcre2-32-0:amd64 (10.42-4ubuntu1) ... 967s Selecting previously unselected package libpcre2-posix3:amd64. 967s Preparing to unpack .../17-libpcre2-posix3_10.42-4ubuntu1_amd64.deb ... 967s Unpacking libpcre2-posix3:amd64 (10.42-4ubuntu1) ... 967s Selecting previously unselected package libpcre2-dev:amd64. 967s Preparing to unpack .../18-libpcre2-dev_10.42-4ubuntu1_amd64.deb ... 967s Unpacking libpcre2-dev:amd64 (10.42-4ubuntu1) ... 967s Selecting previously unselected package libpkgconf3:amd64. 967s Preparing to unpack .../19-libpkgconf3_1.8.1-2_amd64.deb ... 967s Unpacking libpkgconf3:amd64 (1.8.1-2) ... 967s Selecting previously unselected package zlib1g-dev:amd64. 967s Preparing to unpack .../20-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_amd64.deb ... 967s Unpacking zlib1g-dev:amd64 (1:1.3.dfsg-3ubuntu1) ... 967s Selecting previously unselected package libpng-dev:amd64. 967s Preparing to unpack .../21-libpng-dev_1.6.43-1_amd64.deb ... 967s Unpacking libpng-dev:amd64 (1.6.43-1) ... 967s Selecting previously unselected package libreadline-dev:amd64. 967s Preparing to unpack .../22-libreadline-dev_8.2-3_amd64.deb ... 967s Unpacking libreadline-dev:amd64 (8.2-3) ... 967s Selecting previously unselected package pkgconf-bin. 967s Preparing to unpack .../23-pkgconf-bin_1.8.1-2_amd64.deb ... 967s Unpacking pkgconf-bin (1.8.1-2) ... 967s Selecting previously unselected package pkgconf:amd64. 967s Preparing to unpack .../24-pkgconf_1.8.1-2_amd64.deb ... 967s Unpacking pkgconf:amd64 (1.8.1-2) ... 967s Selecting previously unselected package pkg-config:amd64. 967s Preparing to unpack .../25-pkg-config_1.8.1-2_amd64.deb ... 967s Unpacking pkg-config:amd64 (1.8.1-2) ... 967s Selecting previously unselected package liblzma-dev:amd64. 968s Preparing to unpack .../26-liblzma-dev_5.4.5-0.3_amd64.deb ... 968s Unpacking liblzma-dev:amd64 (5.4.5-0.3) ... 968s Selecting previously unselected package r-base-dev. 968s Preparing to unpack .../27-r-base-dev_4.3.2-1build1_all.deb ... 968s Unpacking r-base-dev (4.3.2-1build1) ... 968s Selecting previously unselected package pkg-r-autopkgtest. 968s Preparing to unpack .../28-pkg-r-autopkgtest_20231212ubuntu1_all.deb ... 968s Unpacking pkg-r-autopkgtest (20231212ubuntu1) ... 968s Setting up libjpeg-turbo8-dev:amd64 (2.1.5-2ubuntu1) ... 968s Setting up libncurses-dev:amd64 (6.4+20240113-1ubuntu1) ... 968s Setting up libreadline-dev:amd64 (8.2-3) ... 968s Setting up libpcre2-16-0:amd64 (10.42-4ubuntu1) ... 968s Setting up libpcre2-32-0:amd64 (10.42-4ubuntu1) ... 968s Setting up libpkgconf3:amd64 (1.8.1-2) ... 968s Setting up icu-devtools (74.2-1ubuntu1) ... 968s Setting up pkgconf-bin (1.8.1-2) ... 968s Setting up liblzma-dev:amd64 (5.4.5-0.3) ... 968s Setting up zlib1g-dev:amd64 (1:1.3.dfsg-3ubuntu1) ... 968s Setting up libpcre2-posix3:amd64 (10.42-4ubuntu1) ... 968s Setting up libjpeg8-dev:amd64 (8c-2ubuntu11) ... 968s Setting up libgfortran-13-dev:amd64 (13.2.0-17ubuntu2) ... 968s Setting up libicu-dev:amd64 (74.2-1ubuntu1) ... 968s Setting up libblas-dev:amd64 (3.12.0-3) ... 968s update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode 968s Setting up dctrl-tools (2.24-3build2) ... 968s Setting up libbz2-dev:amd64 (1.0.8-5ubuntu1) ... 968s Setting up libpcre2-dev:amd64 (10.42-4ubuntu1) ... 968s Setting up libpng-dev:amd64 (1.6.43-1) ... 968s Setting up libjpeg-dev:amd64 (8c-2ubuntu11) ... 968s Setting up gfortran-13-x86-64-linux-gnu (13.2.0-17ubuntu2) ... 968s Setting up pkgconf:amd64 (1.8.1-2) ... 968s Setting up gfortran-13 (13.2.0-17ubuntu2) ... 968s Setting up liblapack-dev:amd64 (3.12.0-3) ... 968s update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode 968s Setting up pkg-config:amd64 (1.8.1-2) ... 968s Setting up gfortran-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ... 968s Setting up gfortran (4:13.2.0-7ubuntu1) ... 968s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode 968s update-alternatives: warning: skip creation of /usr/share/man/man1/f95.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f95) doesn't exist 968s update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode 968s update-alternatives: warning: skip creation of /usr/share/man/man1/f77.1.gz because associated file /usr/share/man/man1/gfortran.1.gz (of link group f77) doesn't exist 968s Setting up r-base-dev (4.3.2-1build1) ... 968s Setting up pkg-r-autopkgtest (20231212ubuntu1) ... 968s Processing triggers for libc-bin (2.39-0ubuntu2) ... 968s Processing triggers for man-db (2.12.0-3) ... 968s Processing triggers for install-info (7.1-3) ... 970s Reading package lists... 970s Building dependency tree... 970s Reading state information... 970s Starting pkgProblemResolver with broken count: 0 970s Starting 2 pkgProblemResolver with broken count: 0 970s Done 971s The following NEW packages will be installed: 971s autopkgtest-satdep 971s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 971s Need to get 0 B/696 B of archives. 971s After this operation, 0 B of additional disk space will be used. 971s Get:1 /tmp/autopkgtest.gzAB9D/4-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [696 B] 971s Selecting previously unselected package autopkgtest-satdep. 971s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 77223 files and directories currently installed.) 971s Preparing to unpack .../4-autopkgtest-satdep.deb ... 971s Unpacking autopkgtest-satdep (0) ... 971s Setting up autopkgtest-satdep (0) ... 973s (Reading database ... 77223 files and directories currently installed.) 973s Removing autopkgtest-satdep (0) ... 973s autopkgtest [00:23:05]: test pkg-r-autopkgtest: /usr/share/dh-r/pkg-r-autopkgtest 973s autopkgtest [00:23:05]: test pkg-r-autopkgtest: [----------------------- 973s Test: Try to load the R library linprog 974s 974s R version 4.3.2 (2023-10-31) -- "Eye Holes" 974s Copyright (C) 2023 The R Foundation for Statistical Computing 974s Platform: x86_64-pc-linux-gnu (64-bit) 974s 974s R is free software and comes with ABSOLUTELY NO WARRANTY. 974s You are welcome to redistribute it under certain conditions. 974s Type 'license()' or 'licence()' for distribution details. 974s 974s R is a collaborative project with many contributors. 974s Type 'contributors()' for more information and 974s 'citation()' on how to cite R or R packages in publications. 974s 974s Type 'demo()' for some demos, 'help()' for on-line help, or 974s 'help.start()' for an HTML browser interface to help. 974s Type 'q()' to quit R. 974s 974s > library('linprog') 974s Loading required package: lpSolve 974s > 974s > 974s Other tests are currently unsupported! 974s They will be progressively added. 974s autopkgtest [00:23:06]: test pkg-r-autopkgtest: -----------------------] 974s autopkgtest [00:23:06]: test pkg-r-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 974s pkg-r-autopkgtest PASS 974s autopkgtest [00:23:06]: @@@@@@@@@@@@@@@@@@@@ summary 974s run-unit-test PASS 974s pkg-r-autopkgtest PASS 984s Creating nova instance adt-noble-i386-r-cran-linprog-20240323-000651-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-amd64-server-20240322.img (UUID 485815e0-0f91-4788-a5b5-e5301593a332)...