You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG
+1
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,7 @@ Interface changes
72
72
- the callback SCIP_DECL_EXPRINTEGRALITY, which returns the integrality of an expression, had its fourth argument change from SCIP_Bool* to SCIP_IMPLINTTYPE*, to represent implied integrality in nonlinear expressions, that is an implied integral type of an auxiliary variable if the expression were assigned to it
73
73
- new event SCIP_EVENTTYPE_DUALBOUNDIMPROVED is generated whenever the global dual bound is improved
74
74
- new event mask SCIP_EVENTTYPE_GAPUPDATED for catching updates in primal or dual bound
75
+
- added new sorting functions SCIPsortRealPtrPtr(), ...
/** partial sort of three joint arrays of Reals/Pointer/Pointer, sorted by first array in non-decreasing order around the \p k-th element,
915
+
* see \ref SelectionAlgorithms for more information.
916
+
*/
917
+
SCIP_EXPORT
918
+
voidSCIPselectRealPtrPtr(
919
+
SCIP_Real*realarray, /**< SCIP_Real array to be sorted */
920
+
void**ptrarray1, /**< first pointer array to be permuted in the same way */
921
+
void**ptrarray2, /**< second pointer array to be permuted in the same way */
922
+
intk, /**< the index of the desired element, must be between 0 (search for maximum/minimum) and len - 1 */
923
+
intlen/**< length of arrays */
924
+
);
925
+
926
+
927
+
/** partial sort of three joint arrays of Reals/Pointer/Pointer, sorted by first array in non-decreasing order around the weighted median w.r.t. \p weights and capacity,
928
+
* see \ref SelectionAlgorithms for more information.
929
+
*/
930
+
SCIP_EXPORT
931
+
voidSCIPselectWeightedRealPtrPtr(
932
+
SCIP_Real*realarray, /**< SCIP_Real array to be sorted */
933
+
void**ptrarray1, /**< first pointer array to be permuted in the same way */
934
+
void**ptrarray2, /**< second pointer array to be permuted in the same way */
935
+
SCIP_Real*weights, /**< (optional), nonnegative weights array for weighted median, or NULL (all weights are equal to 1) */
936
+
SCIP_Realcapacity, /**< the maximum capacity that is exceeded by the median */
937
+
intlen, /**< length of arrays */
938
+
int*medianpos/**< pointer to store the index of the weighted median, or NULL, if not needed */
939
+
);
940
+
941
+
914
942
/** partial sort of three joint arrays of Reals/Reals/Pointer, sorted by first array in non-decreasing order around the \p k-th element,
915
943
* see \ref SelectionAlgorithms for more information.
0 commit comments