-
Notifications
You must be signed in to change notification settings - Fork 3
/
ChangeLog
3482 lines (2636 loc) · 135 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
Wed Dec 16 10:00:00 2020 Andrew Makhorin <[email protected]>
* GLPK 5.0 (43:1:3) has been released.
The copyright was transferred to the Free Software Foundation.
To fix some licensing problems the routines in the following
files were disabled by replacing with dummy ones that print an
error message:
* src/api/gridgen.c
* src/api/netgen.c
* src/api/rmfgen.c
* src/misc/qmd.c
* src/misc/relax4.c
Note that this change does not affect the main faunctionality
of the package.
*src/draft/glpios01.c:1395
A bug was fixed for the case n = 0.
The following modules were renamed to simplify maintenance.
* src/draft/glphbm.h RENAMED -> src/misc/hbm.h
* src/draft/glphbm.c RENAMED -> src/misc/hbm.c
* src/draft/glprgr.h RENAMED -> src/misc/rgr.h
* src/draft/glprgr.c RENAMED -> src/misc/rgr.c
* src/draft/glpspm.h RENAMED -> src/misc/spm.h
* src/draft/glpspm.c RENAMED -> src/misc/spm.c
Thu Feb 16 10:00:00 2018 Andrew Makhorin <[email protected]>
* GLPK 4.65 (43:0:3) has been released.
* src/glpk.h, src/api/npp.c
New API routines for LP/MIP preprocessing were added:
glp_npp_alloc_wksp allocate the preprocessor workspace
glp_npp_load_prob load original problem instance
glp_npp_preprocess1 perform basic LP/MIP preprocessing
glp_npp_build_prob build resultant problem instance
glp_npp_postprocess postprocess solution to resultant problem
glp_npp_obtain_sol obtain solution to original problem
glp_npp_free_wksp free the preprocessor workspace
See doc/npp.txt for detailed description of these API routines.
* examples/nppsamp.c
An example program to demonstrate using of LP/MIP preprocessor
was added.
The following modules were renamed to simplify maintenance.
* src/draft/glpnpp.h RENAMED -> src/npp/npp.h
* src/draft/glpnpp01.c RENAMED -> src/npp/npp1.c
* src/draft/glpnpp02.c RENAMED -> src/npp/npp2.c
* src/draft/glpnpp03.c RENAMED -> src/npp/npp3.c
* src/draft/glpnpp04.c RENAMED -> src/npp/npp4.c
* src/draft/glpnpp05.c RENAMED -> src/npp/npp5.c
* src/draft/glpnpp06.c RENAMED -> src/npp/npp6.c
* src/bflib/fvs.h RENAMED -> src/misc/fvs.h
* src/bflib/fvs.c RENAMED -> src/misc/fvs.c
* src/draft/glpios.h RENAMED -> src/draft/ios.h
* src/cglib/ RENAMED -> src/intopt/
* src/draft/glpios10.c RENAMED -> src/intopt/fpump.c
* src/glpk.h, src/intopt/covgen.c
A new, more robust implementation of locally valid simple cover
cuts was included in the MIP solver.
* src/draft/ios.h, src/draft/glpios01.c, src/draft/glpios03.c
These modules were changed to use the new cover cut generator.
* src/misc/ks.c, src/misc/ks.h
Routines to solve 0-1 knapsack problem (used by the new cover
cut generator) were added.
* src/misc/mt1.c, src/misc/mt1.h, src/misc/mt1.f
Routines to solve 0-1 knapsack problem with Martello & Toth
algorithm (used by the new cover cut generator) were added.
(The original Fortran 77 code mt1.f is included for reference
purposes only.)
* src/draft/glpapi09.c
The API routine glp_init_iocp was changed to enable long-step
dual simplex by default.
* src/api/cplex.c
The internal routine col_name routine was changed to construct
a fake column name depending on the column's attributes.
* examples/glpsol.c
A new option --hide was added. This option removes all symbolic
names from the model being processed.
* src/env/stdc.h
CDECL macro was added. (This macro is defined by config.h only
on building the GLPK DLL with MSVC.)
The following modules affected by this change were changed:
* src/api/cpxbas.c
* src/draft/glpios11.c
* src/intopt/cfg1.c
* src/intopt/fpump.c
* src/intopt/gmigen.c
* src/intopt/mirgen.c
* src/misc/wclique1.c
* src/simplex/spxchuzr.c
* src/simplex/spychuzc.c
Sat Dec 02 12:00:00 2017 Andrew Makhorin <[email protected]>
* GLPK 4.64 (42:3:2) has been released.
* src/simplex/spydual.c
The internal routine play_coef of the dual simplex solver was
changed to perform more aggressive perturbation to prevent dual
degeneracy and avoid stalling even if the current dual basic
solution is strongly feasible (mainly if the objective is zero,
so all reduced costs are always zero). Thanks to David Monniaux
<[email protected]> for bug report.
* src/draft/glpssx.h, glpssx02.c, glpapi07.c
The exact simplex solver routines were changed to perform
terminal output according to the verbosity level (specified by
the control parameter smcp.msg_lev). Thanks to Jeroen Demeyer
<[email protected]> for bug report.
* src/simplex/spxchuzr.c
The directive #include <config.h> was added. Thanks to Heinrich
Schuchardt <[email protected]> for bug report.
* examples/graceful.mod
An example model in MathProg was added. Thanks to Mike Appleby
<[email protected]> for contribution.
* examples/powpl25h.mod powplant.mod wolfra6d.lp wolfra6d.mod
Three example models in MathProg and one in Cplex LP format
were added. Thanks to Peter Naszvadi <[email protected]> for
contribution.
Tue Jul 25 12:00:00 2017 Andrew Makhorin <[email protected]>
* GLPK 4.63 (42:2:2) has been released.
* src/simplex/spxchuzr.h, src/simplex/spxchuzr.c
An experimental feature (phase I long-step ratio test) was
included in the primal simplex solver.
* src/simplex/spxprim.c, src/simplex/spydual.c
An internal scaling of the objective coefficients was added to
the primal and dual simplex solvers.
* src/simplex/spxprim.c
A minor bug was fixed (correction of flags of fixed non-basic
variables after removing the perturbation).
* src/glpk.h, src/glpapi06.c
New smcp parameters were added (not documented yet):
int excl (default: GLP_ON)
Internal simplex solver option:
GLP_ON - exclude fixed non-basic variables from the working LP;
GLP_OFF - keep original variables in the working LP.
int shift (default: GLP_ON)
Internal simplex solver option:
GLP_ON - shift bounds of variables in the working LP tow. zero;
GLP_OFF - keep original bounds of variables in the working LP.
int aorn (default: GLP_USE_NT)
Internal simplex solver option:
GLP_USE_AT - use A matrix in sparse row-wise format;
GLP_USE_NT - use N matrix in sparse row-wise format.
Parameter out_frq was changed to specify the output frequency
in milliseconds rather than in simplex iterations.
src/env/time.c
The Posix version of glp_time was replaced by new one, which
doesn't use gmtime functions to improve portability. Thanks to
Rob Schroeder <[email protected]> for bug report.
src/spv.c, src/spv.h
These files were moved to src/cglib/, since they are used only
in the MIR cuts generator.
examples/life_goe.mod, examples/tiling.mod, examples/toto.mod
Three new example models in MathProg were added. Thanks to
Peter Naszvadi <[email protected]> for contribution.
Wed Jun 14 12:00:00 2017 Andrew Makhorin <[email protected]>
* GLPK 4.62 (42:1:2) has been released.
* src/simplex/spxprim.c
An experimental feature (bound perturbation) to improve
numerical stabilty and avoid cycling was included in the primal
simplex solver. Currently it is enabled by default.
* src/simplex/spxprim.c
Some dense vectors were replaced by sparse ones in full-vector
storage (FVS) format.
* src/simplex/spxprim.c, src/simplex/spydual.c
Assertions trow[q] != 0.0 and tcol[p] != 0.0 were replaced by
setting an error code to prevent abnormal termination. Thanks
to Chris Matrakidis <[email protected]> for patch.
* src/simplex/spydual.c
Removing perturbation was added if the perturbed problem is
dual infeasible while the original one is dual feasible. Thanks
to Chris Matrakidis <[email protected]> for patch.
* src/api/mps.c
A range bug was fixed.
Thanks to Chris Matrakidis <[email protected]> for patch.
* src/minisat/minisat.c
Changes were made to provide 64-bit portability. Thanks to
Chris Matrakidis <[email protected]> for patch.
* src/api/minisat1.c
Changes related to the minisat solver were made. Thanks to
Chris Matrakidis <[email protected]> for patch.
* src/api/intfeas1.c
Changes were made to skip objective integrality check when
no objective bound is specified. Thanks to Chris Matrakidis
<[email protected]> for patch.
* src/glphbm.c, src/glprgr.c, src/env/stream.c, src/env/time.c,
* src/mpl/mpl5.c, src/mpl/mpl6.c, src/mpl/mplsql.c
Calls to non-thread-safe functions gmtime, strerror, and strtok
were replaced by calls to corresponding thread-safe equivalents
(gmtime_r, strerror_r, and strtok_r for GNU/Linux).
* w32/*.def, w64/*.def
glp_config symbol was added. Thanks to Heinrich Schuchardt
<[email protected]> for bug report.
* examples/pbn/pbn.mod
A bug was fixed (model didn't work for odd number of rows or
columns). Thanks to Chris Matrakidis <[email protected]> for
bug report and patch provided.
Sun Jan 22 12:00:00 2017 Andrew Makhorin <[email protected]>
* GLPK 4.61 (42:0:2) has been released.
The following modules were renamed to simplify maintenance.
* src/prob.h RENAMED -> src/api/prob.h
* src/glpapi01.c RENAMED -> src/api/prob1.c
* src/glpapi02.c RENAMED -> src/api/prob2.c
* src/glpapi03.c RENAMED -> src/api/prob3.c
* src/glpapi04.c RENAMED -> src/api/prob4.c
* src/glpapi05.c RENAMED -> src/api/prob5.c
* src/env/tls.c
TLS (thread local storage class specifier) option was added;
see comments in tls.c for details.
* configure.ac, config.h.in
Test for TLS was added.
Thanks to David Monniaux <[email protected]> for
suggestion and Chris Matrakidis <[email protected]> for patch.
* src/env/tls.c
Dll support was added.
Thanks to Heinrich Schuchardt <[email protected]> for
contribution.
The following modules were changed to add __cdecl specifier
for functions passed to qsort (this is needed only on compiling
GLPK with MSVC to run under MS Windows).
* src/api/cpxbas.c
* src/cglib/cfg1.c
* src/cglib/gmigen.c
* src/cglib/mirgen.c
* src/misc/wclique1.c
* src/simplex/spychuzc.c
* src/glpios10.c
* src/glpios11.c
* examples/glpsol.c
* src/glpk.h, src/env/env.c
The API routine glp_version was changed to avoid initialization
of the GLPK environment. The new API routine glp_config was
added (but not documented yet). Thanks to Heinrich Schuchardt
<[email protected]> for suggestion.
* INSTALL
Description of the configure option '--with-zlib' was removed.
Thanks to Balaco Baco <[email protected]> for bug report.
Fri Apr 01 12:00:00 2016 Andrew Makhorin <[email protected]>
* GLPK 4.60 (41:0:1) has been released.
* src/glpk.h
Declarations of all non-documented API routines were hidden by
#ifdef GLP_UNDOC / #endif.
src/simplex/spydual.c
An experimental feature (objective coefficient perturbation)
to improve numerical stabilty and avoid cycling was included in
the dual simplex solver.
This release also includes all the changes made in 4.59.2 and
4.59.1 non-official test releases (see below).
Fri Mar 18 12:00:00 2016 Andrew Makhorin <[email protected]>
* GLPK 4.59.2 (40:1:0) has been released.
NOTE: THIS IS A NON-OFFICIAL TEST RELEASE.
src/simplex/spxprim.c
Improvements were made in the internal routine choose_pivot to
prevent choosing a too small pivot in the primal simplex.
src/simplex/spydual.c
Improvements were made in the internal routine choose_pivot to
prevent choosing a too small pivot in the dual simplex.
src/simplex/spychuzc.c
The internal routine spy_eval_bp was added to determine break-
points of the dual objective function.
src/simplex/spydual.c
An experimental feature (long-step ratio test) was included in
the dual simplex.
src/glpk.h, src/glpapi06.c
The GLP_RT_FLIP option (long-step ratio test) was added to
the simplex solver. Currently it affects only the dual simplex.
For the primal simplex it is equivalent to GLP_RT_HAR.
src/examples/glpsol.c
The '--flip' command-line option was added to glpsol (long-step
dual ratio test).
src/proxy/proxy1.c
Additional check was added to reject wrong solutions somwtimes
reported by the PROXY heuristic.
src/glpios10.c
A bug (memory leak) was fixed in the FPUMP heuristic routine.
Thanks to <[email protected]> for bug report.
Tue Mar 15 12:00:00 2016 Andrew Makhorin <[email protected]>
* GLPK 4.59.1 (40:1:0) has been released.
NOTE: THIS IS A NON-OFFICIAL BUG-FIX RELEASE.
* src/simplex/mpl6.c, src/simplex/sql.c, src/simplex/sql.h
The header sql.h was renamed to avoid conflicts with standard
ODBC headers. Thanks to Noli Sicad <[email protected]> for bug
report.
* src/simplex/spychuzc.c, src/simplex/spychuzc.h
Minor changes were made.
Fri Mar 11 12:00:00 2016 Andrew Makhorin <[email protected]>
* GLPK 4.59 (40:0:0) has been released.
* src/sgf.c, src/sgf.h
The routines sgf_reduce_nuc and sgf_factorize were changed to
correctly report structural singularity.
* src/glpios01.c
The routine ios_solve_node was changed to retry solving node
problem in case of the simplex solver failure. Thanks to Chris
Matrakidis <[email protected]> for patch.
* src/glpios03.c
The routine ios_driver was changed to correctly process the
root node. Thanks to Chris Matrakidis <[email protected]> for
patch.
* src/glpios06.c
Some improvements were made in the MIR cut generation routines.
Thanks to Chris Matrakidis <[email protected]> for patch.
The following source modules were splitted/renamed to simplify
maintenance.
* src/glpios04.c RENAMED -> src/spv.c
* src/glpios05.c glp_gmi_cut (new) -> src/cglib/gmicut.c
* src/glpios05.c glp_gmi_gen (new) -> src/cglib/gmigen.c
* src/glpios05.c REMOVED
* src/glpios06.c glp_mir_init (new) -> src/cglib/mirgen.c
* src/glpios06.c glp_mir_gen (new) -> src/cglib/mirgen.c
* src/glpios06.c glp_mir_free (new) -> src/cglib/mirgen.c
* src/glpios06.c REMOVED
* src/glpios08.c glp_cfg_init (new) -> src/cglib/cfg2.c
* src/glpios08.c glp_cfg_free (new) -> src/cglib/cfg2.c
* src/glpios08.c glp_clq_cut (new) -> src/cglib/clqcut.c
* src/glpios08.c REMOVED
* src/glpmpl.h RENAMED -> src/mpl/mpl.h
* src/glpmpl01.c RENAMED -> src/mpl/mpl1.c
* src/glpmpl02.c RENAMED -> src/mpl/mpl2.c
* src/glpmpl03.c RENAMED -> src/mpl/mpl3.c
* src/glpmpl04.c RENAMED -> src/mpl/mpl4.c
* src/glpmpl05.c RENAMED -> src/mpl/mpl5.c
* src/glpmpl06.c RENAMED -> src/mpl/mpl6.c
* src/glpsql.h RENAMED -> src/mpl/sql.h
* src/glpsql.c RENAMED -> src/mpl/sql.c
* src/proxy/proxy.c
Minor bug was fixed in the PROXY heuristic routine. Thanks to
Chris Matrakidis <[email protected]> for bug report.
* src/cglib/gmicut.c, src/glpk.h
New API routine glp_gmi_cut was added (not documented yet).
* src/cglib/gmigen.c, src/glpk.h
New API routine glp_gmi_gen was added (not documented yet).
* src/cglib/mirgen.c, src/glpk.h
New API routines glp_mir_init, glp_mir_gen, and glp_mir_free
were added (not documented yet).
* src/cglib/cfg2.c, src/glpk.h
New API routines glp_cfg_init and glp_cfg_free were added (not
documented yet).
* src/cglib/clqcut.c, src/glpk.h
New API routine glp_clq_cut was added (not documented yet).
* src/api/rdcc.c, src/api/wrcc.c
API routines glp_read_graph and glp_write_graph were changed
due to changes in the data format. For details see the document
"GLPK: Graph and Network Routines".
* src/api/rdgr.c, src/api/wrgr.c, src/glpsdf.c, src/glpsdf.h
Old versions of API routines glp_read_graph and glp_write_graph
were removed.
* doc/gmpl_pt-BR.tex, doc/gmpl_pt-BR.pdf
Translation of the document "Modeling Language GNU MathProg"
to Brazilian Portuguese (pt-BR) was included (in LaTeX and pdf
formats). Thanks to Joao Flavio de Freitas Almeida
<[email protected]> for contribution.
Thu Feb 18 12:00:00 2016 Andrew Makhorin <[email protected]>
* GLPK 4.58 (39:0:0) has been released.
* src/misc/dimacs.c, src/misc/dimacs.h
Routines to read data files in DIMACS format were implemented
as a separate module.
The following source modules were splitted/renamed to simplify
maintenance.
* src/glpapi11.c glp_print_sol -> src/api/prsol.c
* src/glpapi11.c glp_read_sol -> src/api/rdsol.c
* src/glpapi11.c glp_write_sol -> src/api/wrsol.c
* src/glpapi11.c glp_print_ipt -> src/api/pript.c
* src/glpapi11.c glp_read_ipt -> src/api/rdipt.c
* src/glpapi11.c glp_write_ipt -> src/api/wript.c
* src/glpapi11.c glp_print_mip -> src/api/prmip.c
* src/glpapi11.c glp_read_mip -> src/api/rdmip.c
* src/glpapi11.c glp_write_mip -> src/api/wrmip.c
* src/glpapi11.c glp_print_ranges -> src/api/prrngs.c
* src/glpapi11.c REMOVED
* src/glpapi14.c RENAMED -> src/api/mpl.c
* src/glpapi15.c glp_read_graph -> src/api/rdgr.c
* src/glpapi15.c glp_write_graph -> src/api/wrgr.c
* src/glpapi15.c REMOVED
* src/glpapi16.c glp_weak_comp -> src/api/weak.c
* src/glpapi16.c glp_strong_comp -> src/api/strong.c
* src/glpapi16.c glp_top_sort -> src/api/topsort.c
* src/glpapi16.c REMOVED
* src/glpapi17.c glp_mincost_lp -> src/api/mcflp.c
* src/glpapi17.c glp_mincost_okalg -> src/api/mcfokalg.c
* src/glpapi17.c glp_mincost_relax4 -> src/api/mcfrelax.c
* src/glpapi17.c glp_maxflow_lp -> src/api/maxflp.c
* src/glpapi17.c glp_maxflow_ffalg -> src/api/maxffalg.c
* src/glpapi17.c glp_check_asnprob -> src/api/ckasn.c
* src/glpapi17.c glp_asnprob_lp -> src/api/asnlp.c
* src/glpapi17.c glp_asnprob_okalg -> src/api/asnokalg.c
* src/glpapi17.c glp_asnprob_hall -> src/api/asnhall.c
* src/glpapi17.c glp_cpp -> src/api/cpp.c
* src/glpapi17.c REMOVED
* src/glpapi18.c glp_wclique_exact -> src/api/wcliqex.c
* src/glpapi18.c REMOVED
* src/glpapi19.c RENAMED -> src/api/minisat1.c
* src/glpapi20.c RENAMED -> src/api/intfeas1.c
* src/glpapi21.c RENAMED -> examples/glpsol.c
* src/glpcpx.c RENAMED -> src/api/cplex.c
* src/glpdmx.c glp_read_mincost -> src/api/rdmcf.c
* src/glpdmx.c glp_write_mincost -> src/api/wrmcf.c
* src/glpdmx.c glp_read_maxflow -> src/api/rdmaxf.c
* src/glpdmx.c glp_write_maxflow -> src/api/wrmaxf.c
* src/glpdmx.c glp_read_asnprob -> src/api/rdasn.c
* src/glpdmx.c glp_write_asnprob -> src/api/wrasn.c
* src/glpdmx.c glp_read_ccdata -> src/api/rdcc.c
* src/glpdmx.c glp_write_ccdata -> src/api/wrcc.c
* src/glpdmx.c glp_read_prob -> src/api/rdprob.c
* src/glpdmx.c glp_write_prob -> src/api/wrprob.c
* src/glpdmx.c glp_read_cnfsat -> src/api/rdcnf.c
* src/glpdmx.c glp_write_cnfsat -> src/api/wrcnf.c
* src/glpdmx.c glp_check_cnfsat -> src/api/ckcnf.c
* src/glpdmx.c REMOVED
* src/glpgmp.c RENAMED -> src/misc/mygmp.c
* src/glpini01.c RENAMED -> src/api/advbas.c
* src/glpini02.c RENAMED -> src/api/cpxbas.c
* src/glpmps.c RENAMED -> src/api/mps.c
* src/glpnet03.c RENAMED -> src/api/netgen.c
* src/glpnet04.c RENAMED -> src/api/gridgen.c
* src/glpnet05.c RENAMED -> src/api/rmfgen.c
The following source modules were changed due to changes in the
data formats:
* src/api/rdsol.c
* src/api/wrsol.c
* src/api/rdipt.c
* src/api/wript.c
* src/api/rdmip.c
* src/api/wrmip.c
* src/glpk.h
New API routines were added: glp_mpl_init_rand (not documented
yet), glp_time, glp_difftime. The API routine glp_main (glpsol
main routine) was removed.
* src/glpmpl.h, src/glpmpl01.c, src/glpmpl03.c
The function tan (trigonometric tangent) was added to MathProg.
Thanks to Chris Matrakidis <[email protected]> for patch.
* src/simplex/spydual.c
A minor typo in dual simplex (GLP_EITLIM instead of GLP_ETMLIM)
was fixed. Thanks to Chris Matrakidis <[email protected]> for
patch.
* src/glpapi09.c, src/glpios01.c, src/glpios03.c
A time limit problem was fixed. Thanks to Chris Matrakidis
<[email protected]> for patch.
* doc/gmpl_es.tex, doc/gmpl_es.pdf
A new version of the document "Modeling Language GNU MathProg"
in Spanish was included (in LaTeX and pdf formats). Thanks to
Pablo Yapura <[email protected]> for contribution.
* configure.ac
A check to determine if libtool needs '-no-undefined' flag to
build shared libraries on some platforms was added.
Thanks to Marco Atzeri <[email protected]> and Heinrich
Schuchardt <[email protected]> for suggestion.
* autogen.sh
A script to regenerate the configure script and the Makefiles
was added. Thanks to Heinrich Schuchardt <[email protected]>.
* w32/glpk.def, w64/glpk.def
'glp_at_error' symbol was added to the export list. Thanks to
Heinrich Schuchardt <[email protected]> for bug report.
Sun Nov 08 12:00:00 2015 Andrew Makhorin <[email protected]>
* GLPK 4.57 (38:0:2) has been released.
* src/simplex/spy*.*
New, more efficient implementation of the dual simplex method
was included in the package.
* src/simplex/spxprim.c
Incorrect directive #ifdef USE_AT was changed to #if USE_AT.
* src/simplex/simplex.h
New header for simplex-based drivers was added.
* src/glpspx02.c
Old implementation of the dual simplex method was removed from
the package.
* src/glpspx.h
Old header for simplex-based drivers was removed.
* src/glpapi06.c
Call to spx_dual was changed to spy_dual.
tol_piv = 1e-10 in glp_init_smcp was changed to 1e-9 (this new
tolerance seems to be more adequate for new implementations of
the primal and dual simplex methods).
* src/glpk.h, src/glpapi09.c, src/glpios03.c
Option iocp.sr_heur to enable/disable simple rounding heuristic
was added. Thanks to Chris Matrakidis <[email protected]> for
suggestion.
* src/env/env.h src/env/error.c
API routine glp_at_error was added and documented. Thanks to
Jeroen Demeyer <[email protected]> for suggestion.
* src/glpapi19.c
Translation of MiniSat solver (src/minisat) from C++ to C is
made by a non-skilled programmer who converts pointers to ints
and vice versa, so MiniSat works on 32-bit platforms only.
Fixing this portability issue would require rewriting the code,
so currently to prevent crashing the API routine glp_minisat1
was changed just to report failure if 64-bit version of GLPK is
used. Thanks to Heinrich Schuchardt <[email protected]> for
bug report.
* doc/glpk.tex, doc/gmpl.tex
Some material was added according to changes in GLPK API.
Also some minor typos were corrected. Thanks to Anton Voropaev
<[email protected]> for typo report.
* w32/makefiles, w64/makefiles
Option /Zi was added to pass to MSVC compiler.
examples/tsp/*.*
An example application program TSPSOL was added. This program
is intended to solve the Symmetric Traveling Salesman Problem.
For more details see examples/tsp/README.
Thu Oct 01 12:00:00 2015 Andrew Makhorin <[email protected]>
* GLPK 4.56 (37:3:1) has been released.
* src/simplex/*.c, *.h
New, more efficient and robust implementation of the primal
simplex method was included in the package.
* src/glpspx01.c
Old implementation of the primal simplex method was removed
from the package.
* src/bflib/sgf.c
A bug was fixed in routine sgf_reduce_nuc. (The bug appeared if
the basis matrix was structurally singular.) Thanks to Martin
Jacob <[email protected]> for bug report.
* w32/*.*, w64/*.*
Scripts to build GLPK with Microsoft Visual Studio 2015 were
added. Thanks to Xypron <[email protected]> for contribution
and testing.
Fri Aug 22 12:00:00 2014 Andrew Makhorin <[email protected]>
* GLPK 4.55 (37:2:1) has been released.
* src/bflib/luf.c, src/bflib/luf.h
Two routines luf_vt_solve1 and luf_estimate_norm were added to
estimate 1-norm of matrix inverse.
* src/bflib/btf.c, src/bflib/btf.h
Two routines btf_at_solve1 and btf_estimate_norm were added to
estimate 1-norm of block triangular matrix inverse.
* src/bflib/fhvint.c, src/bflib/fhvint.h
The routine fhvint_estimate was added to estimate 1-norm of the
basis matrix inverse (FHV-factorization).
* src/bflib/scfint.c, src/bflib/scfint.h
The routine scfint_estimate was added to estimate 1-norm of the
basis matrix inverse (Schur-complement-based factorization).
* src/bfd.c, src/bfd.c
The routine bfd_condest was added to estimate the condition of
the basis matrix.
* src/bflib/scfint.h
The prefix '_glp' was added to keep the namespace clean.
* src/env/stream.c
Two open modes "a" and "ab" were added. Thanks to Pedro P. Wong
<[email protected]> for bug report.
* src/glpapi21.c (glpsol)
Minor bug was fixed (command-line options --btf, --cbg, --cgr
didn't work properly).
* src/bflib/sgf.c
A serious bug was fixed in a basis factorization routine used
on the dense phase. (The bug might appear only if the number of
rows exceeded sqrt(2**31) ~= 46,340 and caused access violtaion
exception because of integer overflow.) Thanks to Mark Meketon
<[email protected]> for bug report.
* doc/glpk.tex
Two API routines glp_alloc and glp_realloc were documented.
Thanks to Brian Gladman <[email protected]> for suggestion.
* doc/gmpl_es.tex, doc/gmpl_es.pdf
Translation of the document "Modeling Language GNU MathProg"
to Spanish was included (in LaTeX and pdf formats). Thanks to
Pablo Yapura <[email protected]> for contribution.
Fri Mar 28 12:00:00 2014 Andrew Makhorin <[email protected]>
* GLPK 4.54 (37:1:1) has been released.
* src/bflib/fhvint.h, fhvint.c
Some technical changes were made.
* src/bflib/btf.h, btf.c, btfint.h, btfint.c
The module BTF was added to the package. It implements sparse
block triangular factorization of a square non-singular matrix
and is based on LU-factorization (see the LUF module).
* src/bflib/scf.h, scf.c, scfint.h, scfint.c
The module SCF was added to the package. It implements sparse
factorization of a square non-singular matrix based on Schur
complement and LU-factorization (plain or block triangular; see
the LUF and BTF modules).
* src/bfd.c
LP basis factorization driver was changed to use most recent
versions of the FHV and SCF modules.
* src/glplpf.h, glplpf.c
Old version of the Schur-complement-based factorization module
was removed from the package.
* src/glpk.h
New flags GLP_BF_LUF, GLP_BF_BTF were added for glp_bfcp.
* src/glpapi12.c
The API routines glp_get_bfcp, glp_set_bfcp were replaced due
to new version of the BFD module.
* src/glpapi21.c
New command-line options --luf, --btf, --ft, --cbg, and --cgr
were added for the glpsol solver.
* src/*
According to a new version of the GNU Coding Standards in all
messages a grave accent character (`) was replaced by a single
apostrophe character (').
* src/glpapi09.c mip status bug was fixed. Thanks to Remy Roy
<[email protected]> for bug report.
* doc/glpk.tex
Some comments about invalidating the basis factorization were
added. Thanks to Xypron <[email protected]> for suggestion.
* configure.ac
"iodbc-config --cflags" was added to detect iodbc flags. Thanks
to Sebastien Villemot <[email protected]> for patch.
Thu Feb 13 12:00:00 2014 Andrew Makhorin <[email protected]>
* GLPK 4.53 (37:0:1) has been released.
* src/glpmps.c (glp_read_mps)
The code was changed to remove free rows at the end.
* src/glpcpx.c (glp_read_lp)
A bug was fixed (explicit bounds for binaries not set). Thanks
to Gabriel Hackebeil <[email protected]> for bug report.
* src/glpenv07.c (z_fgetc)
A bug was fixed (Z_STREAM_END -> Z_OK). Thanks to Achim Gaedke
<[email protected]> for bug report.
* src/glpenv07.c
Replaced by src/env/stream.c.
* src/glpenv08.c
Replaced by src/env/dlsup.c.
* src/bflib/ifu.h, src/bflib/ifu.c
Re-implemented.
* src/glpscf.h, src/glpscf.c
Replaced by IFU.
* src/glplpf.h, src/glplpf.c
Changed due to IFU.
* src/glpbfd.c
Changed due to LPF.
* src/glpapi06.c
Two API routines glp_get_it_cnt and glp_set_it_cnt were added.
Thanks to Joey Rios <[email protected]> for suggestion.
* src/glplpx.h, src/glplpx01.c, src/glplpx02.c, src/glplpx03.c
All obsolete API routines were completely removed.
* examples/oldapi/lpx.h, examples/oldapi/lpx.c
A set of routines that simulate the old GLPK API (as defined
in 4.48) were added. Thanks to Jan Engelhardt <[email protected]>
for suggestion.
* src/zlib/*
zlib 1.2.7 was downgraded to zlib 1.2.5 (from glpk 4.50) due to
bugs detected in zlib 1.2.7 on some 64-bit platforms. Thanks to
Carlo Baldassi <[email protected]> for bug report.
* src/glpsql.c
Alignment bug was fixed. Thanks to Xypron <[email protected]>
for suggestion.
* src/glpsql.c
#include <my_global.h> and #include <my_sys.h> were commented
out to fix a namespace bug on compiling with MariaDB. Thanks to
Xypron <[email protected]> for suggestion.
Sun Jul 28 12:00:00 2013 Andrew Makhorin <[email protected]>
* GLPK 4.52.1 (36:1:0) has been released.
* src/Makefile.am
Version information bug was fixed. Thanks to Sebastien Villemot
<[email protected]> for bug report.
* src/proxy/proxy.c
A minor bug (incorrect use of glp_term_out) was fixed.
* src/glpios03.c
The simple rounding heuristic routine was changed to check only
global constraints.
* src/glpcpx.c
The code was changed to issue the warning message 'lower/upper
bound redefined' only once.
Thu Jul 18 12:00:00 2013 Andrew Makhorin <[email protected]>
* 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 <[email protected]>.
* 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 <[email protected]>
* 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 <[email protected]> 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 <[email protected]>
* 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 <[email protected]> for suggestion.
* doc/gmpl.tex
Some typos were corrected.
Thanks to Jeffrey Kantor <[email protected]> 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 <[email protected]>
* 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.