Skip to content

Commit 611fe62

Browse files
author
Christopher Hojny
committed
Merge branch 'v90-bugfix' into ensure-varlocks-from-symmetry-conss
2 parents fff63c5 + c667552 commit 611fe62

File tree

1,434 files changed

+1772
-1661
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,434 files changed

+1772
-1661
lines changed

CHANGELOG

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ Interface changes
8484
- SCIPsnprintf() now returns the required string length in case reallocation is necessary.
8585
- SCIPcomputeCoverUndercover() receives three more arguments which nonlinearities to cover
8686
- removed definition of SQRT
87+
- SCIPincludeObjConshdlr(), SCIPincludeConshdlr(), SCIPconshdlrCreate() receive two more arguments for the
88+
conshdlr callbacks CONSGETPERMSYMGRAPH and CONSGETSIGNEDPERMSYMGRAPH
89+
- removed SYM_VARTYPE, SYM_OPTYPE, SYM_CONSTTYPE, SYM_RHSTYPE, SYM_MATRIXDATA
90+
- new parameter issigned for SCIPcomputeOrbitsSym()
91+
- new parameter symtype for SCIPcomputeComponentsSym()
92+
- new parameter symtype and permvardomaincenter for SCIPlexicographicReductionAddPermutation()
93+
- replaced parameters matrixdata and exprdata of SYMcomputeSymmetryGenerators() by graph
8794

8895
### New API functions
8996

@@ -122,6 +129,26 @@ Interface changes
122129
- SCIPincludeCutselDynamic(), SCIPselectCutsDynamic() to include cutsel_dynamic or use the selection algorithm
123130
- SCIPincludeSepaLagromory() to include the new Lagromory separator
124131
- SCIPconsCompCheck() to compare two constraints based on their check priority
132+
- SCIPgetConsPermsymGraph() and SCIPgetConsSignedPermsymGraph() to access the (signed) permutation symmetry detection graph of a constraint
133+
- SCIPsetConshdlrGetPermsymGraph() and SCIPsetConshdlrGetSignedPermsymGraph() to set the (signed) permutation symmetry detection graph of a constraint
134+
- SCIPconshdlrSupportsPermsymDetection() and SCIPconshdlrSupportsSignedPermsymDetection() to access whether a conshdlr supports detection of (signed) permutation symmetries
135+
- new API functions for creating and manipulating a symmetry detection graph: SCIPcreateSymgraph(), SCIPfreeSymgraph(), SCIPcopySymgraph(), SCIPextendPermsymDetectionGraphLinear(),
136+
SCIPaddSymgraphVarAggregation(), SCIPaddSymgraphOpnode(), SCIPaddSymgraphValnode(), SCIPaddSymgraphConsnode(), SCIPgetSymgraphVarnodeidx(), SCIPgetSymgraphNegatedVarnodeidx(),
137+
SCIPupdateSymgraphLhs(), SCIPupdateSymgraphRhs(), SCIPfixSymgraphVarnode(), SCIPaddSymgraphEdge(), SCIPcomputeSymgraphColors(), SCIPgetSymgraphSymtype(), SCIPgetSymgraphVars(),
138+
SCIPgetSymgraphNVars(), SCIPgetSymgraphNConsnodes(), SCIPgetSymgraphNNodes(), SCIPgetSymgraphNEdges(), SCIPgetSymgraphEdgeFirst(), SCIPgetSymgraphEdgeSecond(),
139+
SCIPgetSymgraphVarnodeColor(), SCIPgetSymgraphNodeType(), SCIPgetSymgraphNodeColor(), SCIPisSymgraphEdgeColored(), SCIPgetSymgraphEdgeColor(), SCIPgetSymgraphNVarcolors(),
140+
SCIPhasGraphUniqueEdgetype(), SCIPallocateSymgraphConsnodeperm(), SCIPcreateSymgraphConsnodeperm(), SCIPgetSymgraphConsnodeperm(), SCIPfreeSymgraphConsnodeperm(),
141+
SCIPgetSymActiveVariables(), SCIPfreeSymDataExpr(), SCIPgetSymExprdataNConstants(), SCIPgetSymExprdataConstants(), SCIPgetCoefSymData(),
142+
SCIPcreateSymOpNodeType(), SCIPgetSymOpNodeType()
143+
- SCIPexprhdlrSetGetSymdata(), SCIPexprhdlrHasGetSymData(), SCIPgetSymDataExpr(), SCIPcallExprGetSymData() to access symmetry data of expressions
144+
- SYMcheckGraphsAreIdentical() to check whether two symmetry detection graphs are identical
145+
- new functions SYMbuildSassyGraph(), SYMbuildSassyGraphCheck()
146+
- new type SYM_GRAPH
147+
- new definitions SCIP_DECL_CONSGETPERMSYMGRAPH, SCIP_DECL_EXPRGETSYMDATA
148+
- new member SYM_NODETYPE_CONS in SYM_NODETYPE enum
149+
- new members SYM_CONSOPTYPE_SUM, SYM_CONSOPTYPE_SLACK, SYM_CONSOPTYPE_COEF, SYM_CONSOPTYPE_RHS, SYM_CONSOPTYPE_LAST in SYM_CONSOPTYPE enum
150+
- new defintion SCIP_DECL_EXPRGETSYMDATA
151+
- new function SCIPdetectSingleOrDoubleLexMatrices()
125152

126153
### Command line interface
127154

@@ -196,6 +223,7 @@ Interface changes
196223

197224
- new data structure SYM_GRAPH to encode symmetry information from a constraint
198225
- new data structure SYM_EXPRDATA to encode symmetry information from expressions
226+
- replaced enum SYM_SYMTYPE by a complete new one; removed SYM_RHSSENSE, added SYM_NODETYPE and SYM_CONSOPTYPE
199227

200228
Deleted files
201229
-------------
@@ -242,6 +270,7 @@ Fixed bugs
242270
- use double double precision for delta in activity updates of cons_linear.c
243271
- sort constraints in checkSolOrig() to keep the logic of constraint handlers intact
244272
- fixed make install when SHARED=no and make uninstall
273+
- check absolute coefficients relative to extremal average to avoid invalid unifications in normalizeCons()
245274
- enforce and check symmetry-based constraints to take their locks (in dual reductions) into account
246275

247276
Miscellaneous

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_DEBUG} ${CMAKE_CXX_FLAGS_R
1616
set(SCIP_VERSION_MAJOR 9)
1717
set(SCIP_VERSION_MINOR 0)
1818
set(SCIP_VERSION_PATCH 0)
19-
set(SCIP_VERSION_SUB 5)
19+
set(SCIP_VERSION_SUB 0)
2020
set(SCIP_VERSION_API 114)
2121

2222
project(SCIP

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2002-2023 Zuse Institute Berlin (ZIB)
1+
Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB)
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#* This file is part of the program and library *#
44
#* SCIP --- Solving Constraint Integer Programs *#
55
#* *#
6-
#* Copyright (c) 2002-2023 Zuse Institute Berlin (ZIB) *#
6+
#* Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB) *#
77
#* *#
88
#* Licensed under the Apache License, Version 2.0 (the "License"); *#
99
#* you may not use this file except in compliance with the License. *#

applications/Coloring/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#* This file is part of the program and library *
44
#* SCIP --- Solving Constraint Integer Programs *
55
#* *
6-
#* Copyright (c) 2002-2023 Zuse Institute Berlin (ZIB) *
6+
#* Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB) *
77
#* *
88
#* Licensed under the Apache License, Version 2.0 (the "License"); *
99
#* you may not use this file except in compliance with the License. *

applications/Coloring/doc/xternal_coloring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* This file is part of the program and library */
44
/* SCIP --- Solving Constraint Integer Programs */
55
/* */
6-
/* Copyright (c) 2002-2023 Zuse Institute Berlin (ZIB) */
6+
/* Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB) */
77
/* */
88
/* Licensed under the Apache License, Version 2.0 (the "License"); */
99
/* you may not use this file except in compliance with the License. */

applications/Coloring/src/branch_coloring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* This file is part of the program and library */
44
/* SCIP --- Solving Constraint Integer Programs */
55
/* */
6-
/* Copyright (c) 2002-2023 Zuse Institute Berlin (ZIB) */
6+
/* Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB) */
77
/* */
88
/* Licensed under the Apache License, Version 2.0 (the "License"); */
99
/* you may not use this file except in compliance with the License. */

applications/Coloring/src/branch_coloring.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* This file is part of the program and library */
44
/* SCIP --- Solving Constraint Integer Programs */
55
/* */
6-
/* Copyright (c) 2002-2023 Zuse Institute Berlin (ZIB) */
6+
/* Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB) */
77
/* */
88
/* Licensed under the Apache License, Version 2.0 (the "License"); */
99
/* you may not use this file except in compliance with the License. */

applications/Coloring/src/branch_strongcoloring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* This file is part of the program and library */
44
/* SCIP --- Solving Constraint Integer Programs */
55
/* */
6-
/* Copyright (c) 2002-2023 Zuse Institute Berlin (ZIB) */
6+
/* Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB) */
77
/* */
88
/* Licensed under the Apache License, Version 2.0 (the "License"); */
99
/* you may not use this file except in compliance with the License. */

applications/Coloring/src/branch_strongcoloring.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/* This file is part of the program and library */
44
/* SCIP --- Solving Constraint Integer Programs */
55
/* */
6-
/* Copyright (c) 2002-2023 Zuse Institute Berlin (ZIB) */
6+
/* Copyright (c) 2002-2024 Zuse Institute Berlin (ZIB) */
77
/* */
88
/* Licensed under the Apache License, Version 2.0 (the "License"); */
99
/* you may not use this file except in compliance with the License. */

0 commit comments

Comments
 (0)