e5f4633c39
which included commits to RCS files with non-trunk default branches. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@5 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
53 lines
3.3 KiB
Plaintext
53 lines
3.3 KiB
Plaintext
/tmp/clpr
|
|
|
|
yes
|
|
| ?- [library('clpqr/examples/mip')].
|
|
{consulting /freyung/christian/sicstus2.1.9.clp/library/clpqr/examples/mip.pl...}
|
|
{/freyung/christian/sicstus2.1.9.clp/library/clpqr/examples/mip.pl consulted, 2560 msec 97008 bytes}
|
|
|
|
yes
|
|
| ?- example(1).
|
|
incumbent(14.0,[1.0,2.0])
|
|
incumbent(13.0,[2.0,0.9999999999999998])
|
|
1:13.0
|
|
%%% Timing 00:00:00.020 0.020
|
|
|
|
yes
|
|
| ?- example(2).
|
|
incumbent(-41.999999999999915,[4.440892098500626e-16,1.9999999999999987])
|
|
2: -41.999999999999915
|
|
%%% Timing 00:00:00.010 0.010
|
|
|
|
yes
|
|
| ?- example(flugpl).
|
|
incumbent(1202699.9999999995,[70.99999999999999,69.99999999999999,70.00000000000001,60.00000000000003,60.00000000000006,0.0,8.000000000000028,7.000000000000014,15.999999999999986,6.0,6.00000000000005])
|
|
incumbent(1202399.9999999995,[72.0,70.00000000000001,70.00000000000001,60.00000000000004,60.00000000000005,0.0,9.000000000000002,7.0,15.999999999999986,6.000000000000007,6.000000000000043])
|
|
incumbent(1202100.0,[73.0,70.00000000000001,70.00000000000001,60.000000000000014,60.000000000000014,0.0,10.0,7.000000000000043,15.999999999999986,6.000000000000007,6.000000000000007])
|
|
incumbent(1201800.0,[74.0,70.0,70.0,60.00000000000007,60.0,0.0,11.000000000000014,6.9999999999999725,15.999999999999986,6.0000000000000036,5.999999999999993])
|
|
incumbent(1201500.0000000005,[75.0,70.00000000000001,70.0,60.00000000000007,60.0,0.0,12.0,6.999999999999986,15.999999999999986,6.0000000000000036,5.999999999999993])
|
|
flugpl:1201500.0000000005
|
|
%%% Timing 00:00:30.150 30.150
|
|
|
|
yes
|
|
| ?- example(flugplan).
|
|
incumbent(1202700.0000000007,[70.0,7.000000000000007,69.99999999999999,7.999999999999998,71.00000000000013,0.0,5.99999999999999,59.99999999999999,6.000000000000001,60.000000000000014,15.999999999999991])
|
|
incumbent(1202400.0000000007,[70.0,7.0000000000000275,70.0,8.999999999999838,72.0,0.0,6.000000000000004,59.99999999999999,6.0,60.000000000000014,15.999999999999988])
|
|
incumbent(1202099.9999999995,[70.0,6.999999999999851,69.99999999999983,10.0,73.0,0.0,6.000000000000004,59.99999999999999,6.0,60.000000000000014,15.999999999999988])
|
|
incumbent(1201799.9999999993,[70.0,6.999999999999854,69.99999999999989,11.000000000000089,74.0,0.0,6.000000000000002,60.000000000000014,6.0,60.00000000000002,15.999999999999986])
|
|
incumbent(1201499.9999999993,[70.0,6.999999999999854,69.99999999999991,12.000000000000004,75.0,0.0,6.000000000000002,60.000000000000014,6.0,60.00000000000002,15.999999999999986])
|
|
flugplan:1201499.9999999993
|
|
%%% Timing 00:00:11.800 11.800
|
|
|
|
yes
|
|
| ?- example(sample2).
|
|
incumbent(450.0000000000001,[0.0,0.0,1.0,1.0,0.0,0.0,1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.9999999999999998,0.0,0.0,0.9999999999999997,0.0,1.0,-6.661338147750939e-16])
|
|
incumbent(430.00000000000006,[0.0,0.0,1.0,0.0,0.0,0.0,1.0,0.0,1.0,0.0,1.0,0.0,0.0,1.0,0.9999999999999997,1.0000000000000004,0.0,0.0,0.0,1.0,-6.661338147750939e-16])
|
|
incumbent(400.0000000000001,[0.0,0.0,1.0,0.0,0.0,0.0,1.0,1.0,0.0,0.0,1.0,0.0,0.0,1.0,1.0,0.0,1.0000000000000002,0.0,0.0,1.0,-6.661338147750939e-16])
|
|
incumbent(385.0000000000001,[0.0,0.0,1.0,0.0,0.0,0.0,1.0000000000000002,0.0,1.0,0.0,1.0,1.0,0.0,0.0,1.0,0.0,0.0,0.9999999999999998,0.0,1.0,-6.661338147750939e-16])
|
|
incumbent(375.0000000000001,[0.0,1.0,0.0,0.0,0.0,1.0,1.0,0.0,1.0,0.0,1.0,1.0,0.0,0.0,-1.1102230246251585e-16,0.0,0.0,0.0,1.0,0.0,-6.661338147750939e-16])
|
|
sample2:375.0000000000001
|
|
%%% Timing 00:00:41.730 41.730
|
|
|
|
yes
|
|
| ?- ^D
|