-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathChangeLog
2669 lines (2000 loc) · 102 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Thu Jul 18 12:00:00 2013 Andrew Makhorin <mao@gnu.org>
* GLPK 4.52 (36:0:1) has been released.
* src/misc/wclique1.h, src/misc/wclique1.c
Greedy heuristic to find maximum weight clique was implemented.
* src/cglib/cfg.h, src/cglib/cfg.c, src/cglib/cfg1.c
Conflict graph routines (used to generate clique cuts) were
implemented.
* src/glpios08.c
New version of the clique cut generator was implemented. Now it
is able to efficiently process very large and/or dense conflict
graphs. Old rudimentary version was removed from the package.
* examples/misp1.dat, examples/misp2.dat
Two data files for the maximum independent set problem (MISP)
were added to illustrate efficiency of using the clique cuts.
* src/glpios03.c
Simple rounding heuristic applied for every node subproblem was
implemented.
* proxy/proxy.c
Some bugs were fixed in the proximity search heuristic routine.
Thanks to Giorgio Sartor <0gioker0@gmail.com>.
* src/glpapi21.c
New command-line option '--proxy [nnn]' was added to glpsol to
enable using the proximity search heuristic.
* src/glpspx02.c
A feature was added to switch to the primal simplex in case of
stalling due to dual degeneracy (for GLP_DUALP only).
* src/glpmps.c
A bug (incorrect processing of LI column indicator) was fixed
in the mps format reading routine. Thanks to Charles Brixko for
bug report.
Wed Jun 19 12:00:00 2013 Andrew Makhorin <mao@gnu.org>
* GLPK 4.51 (36:0:0) has been released.
* src/bflib/sgf.c, src/bflib/sgf.h
Singleton and dense phases of sparse Gaussian factorizer were
implemented.
* src/bflib/lufint.c, src/bflib/lufint.h
Interface routines to LU-factorization were added.
* src/bflib/fhvint.c, src/bflib/fhvint.h
Interface routines to FHV-factorization were changed to use
lufint.c routines.
* src/glplpf.c, src/glplpf.h
Routines implementing Schur-complement version of the LP basis
factorization were changed to use lufint.c routines.
* src/glpbfd.c, src/glpbfd.h
Interface routines to the LP basis factorization were changed
due to changes in glplpf.c routines.
* src/glpluf.c, src/glpluf.c
Old version of LU-factorization was removed from the package.
(This old version was used for 10 years since 3.0.6.)
* src/misc/triang.c, src/misc/triang.h
Routine to find maximal triangular part of rectangular matrix
was added.
* src/glpini01.c
The API routine glp_adv_basis that constructs advanced initial
LP basis was replaced by an improved version, which (unlike the
old version) takes into account numerical values of constraint
coefficients.
* src/proxy/*
Routines that implement the proximity search heuristic for MIP
were added. Thanks to Giorgio Sartor <0gioker0@gmail.com> for
contribution.
* src/glpk.h
iocp.ps_heur was added to enable/disable proxy heuristic.
* glpsol
--proxy command-line option was added.
* src/zlib/*.*
zlib general purpose compression library, version 1.2.7,
was ANSIfied and modified according to GLPK requirements and
included in the distribution as an external software module.
This version replaced the old one (1.2.5). For details please
see src/zlib/README.
* src/glpk.h, src/env/time.c
The API routine glp_time was changed to return double rather
than glp_long.
* src/glplib02.c
Routines that implement glp_long type (64-bit arithmetic) were
removed from the package.
* src/glpk.h, src/env/alloc.c
New API routine glp_alloc was added. It makes obsolete two
API routines glp_malloc and glp_calloc which were replaced by
macros to use glp_alloc (hence 36:0:0).
* src/glpios10.c
A bug was fixed that caused numerical instability in the FPUMP
heuristic (the bug was introduced in glpk 4.40).
Fri May 24 12:00:00 2013 Andrew Makhorin <mao@gnu.org>
* GLPK 4.50 (35:0:0) has been released
* src/Makefile.am
Though API was not changed since 4.49, symbols _glp_lpx_* were
removed from the export list, hence 35:0:0.
* src/glpfhv.h, src/glpfhv.c
Old routines for FHV-factorization were removed.
* src/bflib/*.h, src/bflib/*.c
New version of basis factorization routines, including routines
for FHV-factorization, were added.
* src/glpbfd.c
LP basis factorization driver was changed according to the new
routines for FHV-factorization.
* doc/glpk.tex
Some clarifications about using the name index routines were
added. Thanks to Xypron <xypron.glpk@gmx.de> for suggestion.
* doc/gmpl.tex
Some typos were corrected.
Thanks to Jeffrey Kantor <Kantor.1@nd.edu> for report.
* src/glprlx.c
A serious bug was *tentatively* fixed. This bug is inherited
from the original Fortran version of the RELAX-IV code.
Unfortunately, the code is very intricate, so this bug is still
under investigation. Thanks to Sylvain Fournier for bug report.
RELAX-IV bug details
--------------------
In the original RELAX-IV code there are four similar fragments
in subroutines ascnt1 and ascnt2 like this:
C
C DECREASE THE PRICES OF THE SCANNED NODES BY DELPRC.
C ADJUST FLOW TO MAINTAIN COMPLEMENTARY SLACKNESS WITH
C THE PRICES.
C
NB = 0
DO 6 I=1,NSAVE
. . .
IF (RC(ARC).EQ.0) THEN
DELX=DELX+U(ARC)
NB = NB + 1
PRDCSR(NB) = ARC
END IF
. . .
On some instances the variable NB becomes greater than N (the
number of nodes) that leads to indexing error, because the
array PRDCSR is declared as array of N elements (more
precisely, as array of MAXNN elements, however, NB becomes even
much greater than MAXNN).
Tue Apr 16 12:00:00 2013 Andrew Makhorin <mao@gnu.org>
* GLPK 4.49 (34:0:0) has been released
* glprlx.c, glprlx.h
C version of the Fortran code RELAX-IV (relaxation method of
Bertsekas and Tseng) was added.
* glpapi17.c
API routine glp_mincost_relax4, which is a driver to RELAX-IV
code, was added and documented.
* glpnet03.c
API routine glp_netgen_prob (Klingman's standard network
problems) was added and documented.
* glpapi12.c
A bug (wrong dual feasibility test) was fixed in API routine
glp_warm_up. Thanks to David T. Price <dtprice@speakeasy.net>
for bug report.
* glpapi10.c
Obsolete API routine lpx_check_kkt was replaced by API routine
glp_check_kkt.
* glpk.h
All old API routines whose names begin with 'lpx_' were removed
from API and no more available.
* glpk.tex, graphs.tex
These documents were essentially reformatted.
Mon Jan 28 12:00:00 2013 Andrew Makhorin <mao@gnu.org>
* GLPK 4.48 (33:0:0) has been released
* src/glpmps.c
A bug in glp_write_mps was fixed. Thanks to Raniere Gaia Costa
da Silva for bug report.
* glpk.h
glp_prob declaration changed (now it is incomplete struct);
glp_tree declaration changed (now it is incomplete struct);
glp_tran declaration changed (now it is incomplete struct);
glp_long declaration removed;
glp_time declaration removed;
glp_difftime removed from API;
glp_data removed from API;
glp_sdf_* removed from API;
glp_mem_usage declaration changed (glp_long -> size_t);
glp_realloc declaration added (not documented yet).
* glpenv.h, glpenv05.c
Dynamic memory allocation routines were reimplemented.
* glpk.h, glpnet03.c
Routine glp_netgen_prob was added (not documented yet).
* configure.ac
Check for gmp.h was added. Thanks to Heinrich Schuchardt for
suggestion.
* w32/glpk.def, w64/glpk.def
Changes were made to export only API symbols.
Fri Sep 09 12:00:00 2011 Andrew Makhorin <mao@gnu.org>
* GLPK 4.47 (32:0:32) has been released
* src/glpapi20.c
New API routine glp_infeas1 to solve 0-1 feasibility problem
was added and documented (see doc/cnfsat.pdf).
* src/glpnpp06.c
Some new preprocessor routines for SAT-CNF encoding, which are
used by the routine glp_intfeas1, were added.
* src/glpnpp.h
The header was modified due to additions.
* src/glpapi21.c
The glpsol solver was modified to bypass model postprocessing
if the solution reported is neither optimal nor feasible.
* src/glpapi21.c
New glpsol options (--minisat and --objbnd) were added.
* examples/pbn/*.*
The paint-by-numbers puzzle model (pbn.mod) was modified to
print solution in PostScript format and to check for multiple
solutions. Some benchmark examples from <webpbn.com> encoded
in MathProg were included in the distribution. For more details
see examples/pbn/README and examples/pbn/pbn.pdf.
* examples/Makefile.am
A minor bug was fixed to correctly build glpk in a separate
directory. Thanks to Marco Atzeri <marco.atzeri@gmail.com> for
bug report.
Tue Aug 09 12:00:00 2011 Andrew Makhorin <mao@gnu.org>
* GLPK 4.46 (31:0:31) has been released
* src/glpk.h, src/Makefile
glpk.h was relocated from 'include' to 'src', and 'include'
subdir was removed; src/Makefile.am was changed appropriately.
* src/zlib/*.*
zlib general purpose compression library, version 1.2.5,
was ANSIfied and modified according to GLPK requirements and
included in the distribution as an external software module.
For details see src/zlib/README.
* src/glpdmx.c
The following new API routines were added:
glp_read_cnfsat - read CNF-SAT problem data in DIMACS format
glp_check_cnfsat - check for CNF-SAT problem instance
glp_write_cnfsat - write CNF-SAT problem data in DIMACS format
* src/minisat/*.*
MiniSat, a CNF-SAT solver, version 1.14.1, was ANSIfied and
modified according to GLPK requirements and included in the
distribution as an external software module.
For details see minisat/README and minisat/LICENSE.
* src/glpapi19.c
The API routine glp_minisat1, which is a driver to the MiniSat
solver, was included in the package.
* doc/satcnf.*
The document "CNF Satisfiability Problem" was included in the
package. It is a supplement to the GLPK Reference Manual.
* src/glpapi20.c
New glpsol options (--cnf, --wcnf, and --minisat) was added.
* glpsql.c
Some bugs were fixed. Thanks to Xypron <xypron.glpk@gmx.de>.
Sun Dec 05 12:00:00 2010 Andrew Makhorin <mao@gnu.org>
* GLPK 4.45 (30:0:30) has been released
* glplpx01.c
A bug (it_cnt) in routine reset_parms was fixed.
Thanks to Ali Baharev <ali.baharev@gmail.com> for report.
* glpmpl03.c
A bug (print "text\") was fixed.
Thanks to Xypron <xypron.glpk@gmx.de> for report.
* glpsql.c
A precision bug was fixed.
Thanks to Xypron <xypron.glpk@gmx.de>.
* glpk.tex
Some typos were corrected.
Thanks to Robbie Morrison <robbie@actrix.co.nz>.
Thu Jun 03 12:00:00 2010 Andrew Makhorin <mao@gnu.org>
* GLPK 4.44 (29:0:29) has been released
* glpapi14.c glpmpl.h glpmpl01.c glpmpl03.c glpmpl04.c
Implemented suffixes for variables and constraints.
* glpmpl06.c
Made changes to allow comment records in CSV files.
* glpapi17.c
Added and documented new API routine glp_cpp to solve Critical
Path Problem.
Sat Feb 20 12:00:00 2010 Andrew Makhorin <mao@gnu.org>
* GLPK 4.43 (28:0:28) has been released
* glplib.h, glplib.c, glpenv.h, glpenv.c
The module glpenv was split into two modules glpenv and glplib.
* glpenv01.c, glpenv03.c, glpenv04.c, glpenv06.c
The following new API routines were added and documented:
glp_init_env, glp_free_env, glp_open_tee, glp_close_tee,
glp_error (macro), glp_difftime.
* glpapi16.c
New API routine glp_top_sort (topological sorting of ayclic
digraph) was added and documented.
* glpapi17.c
A serious bug was fixed in the routine glp_asn_prob_hall.
* glpnpp05.c
A bug was fixed in the LP/MIP preprocessor (hidden covering
inequalities).
* glpsql.c
Some improvements were made in the table driver (NULL data).
Thanks to Xypron <xypron.glpk@gmx.de> for contribution.
* configure.ac
Changes were made to use .dylib rather than .so under Mac OS.
Thanks to Noli Sicad <nsicad@gmail.com> for testing
Wed Jan 13 12:00:00 2010 Andrew Makhorin <mao@gnu.org>
* GLPK 4.42 (27:0:27) has been released
* glpapi01.c, glpapi11.c, glpapi12.c, glpdmx.c
The following new API routines were added and documented:
glp_check_dup (check for duplicate elements in sparse matrix);
glp_sort_matrix (sort elements of the constraint matrix);
glp_read_prob (read problem data in GLPK format);
glp_write_prob (write problem data in GLPK format);
glp_analyze_bound (analyze active bound of non-basic variable);
glp_analyze_coef (analyze obj. coefficient at basic variable);
glp_print_ranges (print sensitivity analysis report; replaces
lpx_print_sens_bnds).
* glpapi20.c
New command-line options were added to glpsol:
--glp (read problem data in GLPK format);
--wglp (write problem data in GLPK format);
--lp (replaces --cpxlp);
--wlp (replaces --wcpxlp);
--ranges (print sensitivity analysis report).
* glpapi06.c
In the routine glp_init_smcp default value of the parameter
out_frq was changed to 500 (it was 200).
* glpipp.h, glpipp01.c, glpipp02.c
The old MIP preprocessor module was removed.
* glpapi09.c
Now the MIP solver uses the new MIP preprocessor (NPP).
* glplpx03.c
lpx_write_opb was disabled due to replacing IPP with NPP.
* glpnet09.c
Kellerman's heuristic to cover edges by cliques was added.
* glplib08.c
Recognition of special filenames "/dev/stdin", "/dev/stdout",
and "/dev/stderr" was added.
* glpk.tex
Chapter "Graph and network routines" was carried out from the
reference manual as a separate document.
Mon Dec 21 12:00:00 2009 Andrew Makhorin <mao@gnu.org>
* GLPK 4.41 (26:0:26) has been released
* glpapi12.c
The following new API routines were added:
glp_transform_row (replaces lpx_transform_row);
glp_transform_col (replaces lpx_transform_col);
glp_prim_rtest (replaces lpx_prim_ratio_test);
glp_dual_rtest (replaces lpx_dual_ratio_test).
Note that values returned by glp_prim_rtest and glp_dual_rtest
differ from the ones retutned by the deprecated routines.
* glpnpp*.*
The LP/MIP preprocessor was essentially re-implemented.
* glpios03.c
The feature to remove inactive cuts from the active subproblem
was implemented.
* glpios11.c
The feature processing cuts stored in the cut pool was improved
(now it uses estimation of objective degradation).
* glpscg.*
Obsolete implemetation of the conflict graph was removed.
* glpmpl.h, glpmpl03.c, glpmpl04.c
FILE was replaced by XFILE to allow using GLPK I/O routines.
* glpsql.c, examples/sql, doc/tables.tex
The SQL table driver was changed to allow multiple arguments
separated by semicolon in SQL statements. Thanks to Xypron
<xypron.glpk@gmx.de>.
* glpk.h, glpapi14.c
New API routine glp_time was added (not documented yet).
* glpapi20.c
Two new options were added to glpsol: --seed value (initialize
pseudo-random number generator used in MathProg model with
specified seed value), and --ini filename (use as initial basis
previously saved with -w option).
* examples/xyacfs.mod
Thanks to Nigel Galloway <nigel_galloway@operamail.com> for
contribution.
* examples/dbf/*.*
Thanks to Noli Sicad <nsicad@gmail.com> for contribution.
* w32/*.*, w64/*.*
Scripts to build GLPK with Microsoft Visual Studio 2010 were
added. Thanks to Xypron <xypron.glpk@gmx.de> for contribution
and testing.
Tue Nov 03 12:00:00 2009 Andrew Makhorin <mao@gnu.org>
* GLPK 4.40 (25:0:25) has been released
* glpdmx.c
Two new API routines were added:
glp_read_ccdata (read graph in DIMACS clique/coloring format);
glp_write_ccdata (write graph in DIMACS clique/coloring format).
Also an example file examples/sample.col was added.
* glpapi19.c, glpnet08.c
New API routine glp_wclique_exact was added. It is intended to
find a maximum weight clique with the exact algorithm developed
by Prof. P. Ostergard.
* glpnpp02.c
A bug was fixed in the LP preprocessor (routine npp_empty_col).
Thanks to Stefan Vigerske <stefan@math.hu-berlin.de> for the
bug report.
* glpios10.c
A bug was fixed and some improvements were made in the FPUMP
heuristic module. Thanks to Xypron <xypron.glpk@gmx.de>.
* glpapi12.c
A bug was fixed in the API routine glp_warm_up (dual
feasibility test was incorrect in maximization case). Thanks to
Uday Venkatadri <Uday.Venkatadri@dal.ca> for the bug report.
* glpapi16.c
Two new API routines were added:
glp_del_vertices (remove vertices from graph);
glp_del_arc (remove arc from graph).
* glpios09.c
The hybrid pseudocost branching heuristic was included in the
MIP solver. It is available on API level (iocp.br_tech should
be set to GLP_BR_PCH) and in the stand-alone solver glpsol
(via the command-line option --pcost). This heuristic may be
useful on solving hard MIP instances.
* glpios03.c
The branching heuristic by Driebeck and Tomlin (used in the
MIP solver by default) was changed to switch to branching on
most fractional variable if an lower bound of degradation of
the objective is close to zero for all branching candidates.
Sun Jul 26 12:00:00 2009 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.39 (24:0:24) has been released
* glpsdf.c
New API routines to read plain data files were added.
* glpcpx.h, glpini.h, glpscl.h
These headers were removed.
* glpcpx.c
API routines glp_read_lp and glp_write_lp to read/write files
in CPLEX LP format were re-implemented. Now glp_write_lp
correctly writes double-bounded (ranged) rows by introducing
slack variables rather than by duplicating the rows. The data
structure glp_cpxcp and routine glp_init_cpxcp were added.
* amd/*
The 'xfree(NULL)' bug was fixed in the AMD routines. Thanks to
Niels Klitgord <niels@bu.edu> for the bug report.
* glpapi16.c
New API routines glp_set_vertex_name, glp_create_v_index,
glp_find_vertex, and glp_delete_v_index were added.
* glpdmx.c
New API routines glp_read_asnprob, glp_write_asnprob,
glp_read_ccformat, and glp_write_ccformat were added (the two
latter routines are not documented yet).
* glpapi18.c
New API routines glp_check_asnprob, glp_asnprob_lp,
glp_asnprob_okalg, and glp_asnprob_hall were added.
* glpini01.c, glpini02.c
The message "Crashing..." was changed to "Constructing initial
basis..." due to suggestion by Thomas Kahle <tom111@gmx.de>.
* glpapi14.c
New API routines glp_printf, glp_vprintf, glp_malloc,
glp_calloc, glp_free, and glp_assert were added.
* glplpp.h, glplpp01.c, glplpp02.c
Old LP presolver routines were removed. Now glp_simplex uses
new preprocessing routines (see glpnpp).
* glpapi12.c
New API routine glp_warm_up was added; it replaces the routine
lpx_warm_up.
Sat May 02 12:00:00 2009 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.38 (23:0:23) has been released
* glpmps.c
API routines to read/write MPS files were re-implemented.
* glpspx02.c
Some improvements were made in the dual simplex routine.
* glpk.h
New structure glp_iptcp was added.
* glpnpp.h, glpnpp01.c, glpnpp02.c
New LP/MIP preprocessor. Currently it includes only some basic
routines and used only in the interior-point solver.
* glpapi08.c
API routine glp_interior was replaced by an improved version
(new LP/MIP preprocessor, new ordering algorithms).
New API routine glp_init_iptcp was added.
API routine glp_ipt_status may return two new statuses due to
changes in glp_interior.
* glpsol.c
New command-line options were added (ordering algorithm used in
the interior-point solver).
* amd/*.*, colamd/*.*
Two external software modules AMD and COLAMD/SYMAMD used in the
interior-point solver were included in the distribution.
For details see amd/README and colamd/README.
* glpnet03.c, glpnet04.c, glpnet05.c
A minor bug was fixed (_G => G_). Thanks to Nelson H. F. Beebe
<beebe@math.utah.edu> for bug report.
Sun Mar 29 12:00:00 2009 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.37 (22:0:22) has been released
* glpk.h
iocp.fp_heur was added to enable/disable fpump heuristic.
* glpios10.c
ios_feas_pump was added (feasibility pump heuristic).
* glpsol.c
--fpump command-line option was added.
* glpsds.c
Plain data set routines were added to facilitate reading plain
data in application programs. Currently these routines are not
in API, though declared in glpk.h.
* glpapi08.c
A bug was fixed in the internal routine restore. (Due to this
bug dual solution components were computed incorrectly if the
problem was scaled.)
* glpapi10.c, glpapi11.c
The following new API routines were added:
glp_print_sol (replaces lpx_print_sol);
glp_print_ipt (replaces lpx_print_ips);
glp_print_mip (replaces lpx_print_mip);
_glp_check_kkt (replaces lpx_check_kkt, lpx_check_int).
Now the routine lpx_print_prob (deprecated) is equivalent to
the routine glp_write_lp.
* glpapi18.c, glpapi19.c
The following new API routines were added:
glp_read_graph (read graph from plain text file);
glp_write_graph (write graph to plain text file);
glp_weak_comp (find all weakly connected components);
glp_strong_comp (find all strongly connected components).
* configure.ac, Makefile.am
Changes were made: (a) to allow using autoreconf/autoheader;
(b) to allow building glpk in a directory other than its source
directory. Thanks to Marco Atzeri <marco_atzeri@yahoo.it> for
bug report.
* examples/shiftcover.mod
An example model in MathProg was added.
Thanks to Larry D'Agostino <Larry.D'Agostino@gmacrescap.com>
for contribution.
Fri Feb 06 12:00:00 2009 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.36 (21:0:21) has been released
* glpnet06.c, glpnet07.c, glpapi19.c
The following new API routines were added:
glp_mincost_okalg find minimum-cost flow with out-of-kilter
algorithm
glp_maxflow_ffalg find maximal flow with Ford-Fulkerson
algorithm
* glpsol.c
Two new command-line options were added:
--mincost read min-cost flow data in DIMACS format
--maxflow read maximum flow data in DIMACS format
* doc/glpk.*
New edition of the reference manual was included.
* glpk.h
Duplicate symbols were removed to allow using swig.
Thanks to Kelly Westbrooks <kellywestbrooks@yahoo.com> and
Nigel Galloway <nigel_galloway@operamail.com> for suggestion.
* glpcpx.c
A minor defect was fixed in the routine glp_write_lp.
Thanks to Sebastien Briais <sbriais@free.fr> for bug report.
* glpsql.c
A minor bug was fixed. Thanks to Xypron <xypron.glpk@gmx.de>
for patch.
* examples/hashi.mod, examples/shikaku.mod
Two example models in MathProg were added. Thanks to Sebastian
Nowozin <nowozin@gmail.com> for contribution.
* examples/qfit.mod, examples/yacfs.mod
Two example models in MathProg were added. Thanks to Nigel
Galloway <nigel_galloway@operamail.com> for contribution.
Fri Jan 09 12:00:00 2009 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.35 (20:0:20) has been released
* glpk.h, glpapi.c, glpnet.c
The following new API routines were added:
glp_create_graph create graph
glp_set_graph_name assign (change) graph name
glp_add_vertices add new vertices to graph
glp_add_arc add new arc to graph
glp_erase_graph erase graph content
glp_delete_graph delete graph
glp_read_mincost read minimum cost flow problem data in
DIMACS format
glp_write_mincost write minimum cost flow problem data in
DIMACS format
glp_mincost_lp convert minimum cost flow problem to LP
glp_netgen Klingman's network problem generator
glp_gridgen grid-like network problem generator
glp_read_maxflow read maximum flow problem data in DIMACS
format
glp_write_maxflow write maximum flow problem data in DIMACS
format
glp_maxflow_lp convert maximum flow problem to LP
glp_rmfgen Goldfarb's maximum flow problem generator
* doc/glpk.*
New edition of the reference manual was included.
* examples/sample.min, examples/sample.max
Two example data files in DIMACS format were added.
* glplib04.c
The statement "if (c = '\n') fflush(stdout)" was added to the
internal routine xputc to provide "real-time" terminal output.
Thanks to Luiz Bettoni <bettoni@cpgei.ct.utfpr.edu.br> for
suggestion.
* glpmpl05.c
A minor bug was fixed in the internal routine mpl_fn_time2str.
Thanks to Stefan Vigerske <stefan@vigerske.de> for bug report.
* w32/makefile, w64/makefile
The flag -O2 (/O2) was added to some makefiles.
Thu Dec 04 12:00:00 2008 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.34 (19:0:19) has been released
* src/glpios03.c
A bug was fixed in the internal routine branch_on. Thanks to
Nigel Galloway <nigel_galloway@operamail.com> for bug report.
* src/glpmpl05.c
Three new MathProg functions were included:
gmtime obtaining current calendar time
str2time converting character string to calendar time
time2str converting calendar time to character string
Thanks to Xypron <xypron.glpk@gmx.de>.
* doc/glpk.*, doc/gmpl.*
A new edition of the GLPK reference manual and GNU MathProg
language description were included.
Thu Oct 30 12:00:00 2008 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.33 (18:0:18) has been released
* glpapi*.*
The following new API routines were added:
glp_copy_prob copy problem object content
glp_exact solve LP in exact arithmetic
(makes lpx_exact deprecated)
glp_get_unbnd_ray determine variable causing unboundedness
(makes lpx_get_ray_info deprecated)
glp_interior solve LP with interior-point method
(makes lpx_interior deprecated)
* glpapi*.*
The following new API routines for processing models written in
the GNU Mathprog language were added to the package:
glp_mpl_alloc_wksp allocate the translator workspace
glp_mpl_read_model read and translate model section
glp_mpl_read_data read and translate data section
glp_mpl_generate generate the model
glp_mpl_build_prob build LP/MIP instance from the model
glp_mpl_postsolve postsolve the model
glp_mpl_free_wksp deallocate the translator workspace
(These routines make lpx_read_model deprecated.)
* src/glpapi17.c, examples/glpsol.c
The stand-alone solver glpsol was re-implemented with new API
routines.
* src/glpsql.c
Some bugs were fixed in the SQL table driver. Thanks to Xypron
<xypron.glpk@gmx.de>.
* examples/cplex/*.*
A crude implementation of CPLEX-like interface to GLPK API was
added to the package. See examples/cplex/README.
Fri Oct 03 12:00:00 2008 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.32 (17:0:17) has been released
* glpmpl01.c
A bug was fixed. Due to this bug iterated expressions having
an indexing expression whose dummy indices are bound to some
values, i.e. like sum{(i+1,j,k-1) in E} x[i,j,k] are evaluated
incorrectly. Namely, current value of such expressions is not
invalidated when corresponding dummy indices (like i and k in
the example above) are changed, that erroneously results in the
same value evaluated for the first time.
* glpios03.c
Euclidean reduction of the local objective bound was added in
the routine glpios03.c.
* glpapi11.c
The following new branch-and-cut API routines were added:
glp_ios_row_attr determine additional row attributes;
glp_ios_pool_size determine current size of the cut pool;
glp_ios_add_row add constraint to the cut pool;
glp_ios_del_row delete constraint from the cut pool;
glp_ios_clear_pool delete all constraints from the cut pool.
* glpapi08.c
The following new features were included in the branch-and-cut
solver (the API routine glp_intopt):
MIP presolver;
mixed cover cut generator;
clique cut generator.
Due to the MIP presolver glp_intopt may additionally return
GLP_ENOPFS and GLP_ENODFS, if primal or dual infeasibility of
LP relaxation is detected by the presolver. Also the return
code GLP_EMIPGAP was introduced to correctly indicate that the
mip gap tolerance is reached.
* glplpx01.c
Now the obsolete API routines lpx_integer and lpx_intopt are
completely superseded by the API routine glp_intopt that makes
them deprecated.
* glpmpl05.c
Now the table driver name "iODBC" can be specified as "ODBC".
* glpmpl03.c
A bug fixed in the routine free_dca.
Thanks to Xypron <xypron.glpk@gmx.de>.
* glpsql.c
A bug was fixed in the SQL table driver.
Thanks to Xypron <xypron.glpk@gmx.de>.
* examples/glpsol.c
Changes were made to allow multiple MathProg data files.
* doc/glpk.*
A new edition of the GLPK reference manual was included.
* doc/tables.*
A new edition of the supplement "Using data tables in the GNU
MathProg language" was included.
Tue Sep 02 12:00:00 2008 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.31 (16:0:16) has been released
* glpspx.h, glpspx01.c, glpspx02.c, glpapi06.c
The dual simplex solver (spx_dual_opt) was replaced by a new
implementation of the two-phase dual simplex method (spx_dual).
Old simplex method routines (spx_prim_opt, spx_prim_feas, and
spx_dual_opt) were removed from the package.
* glpk.h, glpscl.h, glpscl.c, glpapi04.c
New API routine glp_scale_prob was added. It replaces routine
lpx_scale_prob which is deprecated.
* glpk.h, glpini.h, glpini01.c, glpini02.c, glpapi05.c
New API routines glp_std_basis, glp_adv_basis, glp_cpx_basis
were added. They replace routines lpx_std_basis, lpx_adv_basis,
lpx_cpx_basis which are deprecated.
* glpdmp.c
8-byte data alignment was added to the module (sufficient for
both ILP32 and LP64 environments).
* glplib07.c
16-byte data alignment was added to the module to provide
compatibility with LP64 environment (8-byte is not sufficient
due to jmp_buf; thanks to Xypron for investigation).
* glplpx16.c
New version of the routine lpx_write_pb was added. Thanks to
Oscar Gustafsson <oscarg@isy.liu.se> for the contribution.
* w32/VC9, w64/VC9
Makefiles and batch files were added to build GLPK under 32-
and 64-bit Windows with Microsoft Visual Studio Express 2008.
Thanks to Heinrich Schuchardt <heinrich.schuchardt@gmx.de> for
the contribution and testing.
* w32/DM, w32/OWC
Makefiles and batch files were added to build GLPK with Digital
Mars C/C++ 8.50 and Open Watcom C/C++ 1.6 (32-bit Windows).
Wed Aug 13 12:00:00 2008 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.30 (15:0:15) has been released
* glpspx.h, glpspx03.c, glpapi06.c
The primal simplex solver (spx_prim_opt, spx_prim_feas) was
replaced by a new implementation (spx_primal), which currently
provides the same features as the old version.
* glpmpl01.c, glpmpl03.c
Some changes were made in the MathProg translator to allow <,
<=, >=, and > on comparing symbolic values. Thanks to Heinrich
Schuchardt <heinrich.schuchardt@gmx.de> for patches.
* glplpx10.c
Internal routine set_d_eps in the exact LP solver was changed
to prevent approximation errors in case of integral data.
Thanks to Markus Pilz <pilz@cs.uni-bonn.de> for bug report.
XXX XXX XX 12:00:00 2008 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.29 (14:0:14) has been released
* configure.ac
The configure script was changed to disable optional features
by default. For details see file INSTALL.
* glpipp02.c
A bug was fixed in the internal routine reduce_bounds. Thanks
to Anne-Laurence Putz <anne-laurence.putz@eurodecision.com> for
the bug report.
* glpapi01.c
New API routine glp_erase_prob was added.
* glpapi13.c
New API routines glp_read_mps and glp_write_mps were added.
They replace API routines lpx_read_mps, lpx_read_freemps,
lpx_write_mps, and lpx_write_freemps, which are deprecated.
* glpapi14.c
New API routines glp_read_lp and glp_write_lp were added. They
replace API routines lpx_read_cpxlp and lpx_write_cpxlp, which
are deprecated.
* glpsql.c
Minor bug was fixed. Thanks to Xypron <xypron.glpk@gmx.de> for
the bug report.
Tue Mar 25 12:00:00 2008 Andrew Makhorin <mao@mai2.rcnet.ru>
* GLPK 4.28 (13:0:13) has been released
* glplib.h, glplib.c
Three wrapper routines xdlopen, xdlsym, and xdlclose, which
provide the shared library support, were added. A particular
version of these routines depends on the option --enable-dl
passed to the configure script (see file INSTALL for details).
Thanks to Rafael Laboissiere <rafael@debian.org> for useful
advices concerning the shared library support.
* glpsql.c
A static linking to iODBC and MySQL libraries used in the
MathProg table drivers was replaced by a dynamic linking to
corresponding shared libraries.
Many thanks to Heinrich Schuchardt <heinrich.schuchardt@gmx.de>
for the contribution and to Vijay Patil <vijay.patil@gmail.com>
for testing this feature under Windows XP.
* glpgmp.h, glpgmp.c
A bug (which appeared only on 64-bit platforms) was fixed.
Thanks to Axel Simon <Axel.Simon@ens.fr> for the bug report.
* glpapi.c
A bug was fixed in the api routine glp_add_cols. (If the basis
is valid, adding column keeps it valid, however, col->bind was
set to -1 rather to 0.)
Thanks to Cedric[FR] <fox2113@wanadoo.fr> for the bug report.
* glplib.c
64-bit unsigned int type glp_ulong and corresponding routines
were replaced by 64-bit signed int type xlong_t.
* glpk.h, glpapi.c
The type glp_ulong was replaced by glp_long. This affects only