Dip  0.92.4
sym_qsort.h
Go to the documentation of this file.
1 /*===========================================================================*/
2 /* */
3 /* This file is part of the SYMPHONY MILP Solver Framework. */
4 /* */
5 /* SYMPHONY was jointly developed by Ted Ralphs (ted@lehigh.edu) and */
6 /* Laci Ladanyi (ladanyi@us.ibm.com). */
7 /* */
8 /* (c) Copyright 2000-2019 Ted Ralphs. All Rights Reserved. */
9 /* */
10 /* This software is licensed under the Eclipse Public License. Please see */
11 /* accompanying file for terms. */
12 /* */
13 /*===========================================================================*/
14 
15 #ifndef _QSORT_H
16 #define _QSORT_H
17 
18 //void qsort(char *bot, unsigned int nmemb, int size,
19 // int (*compar)(const void *, const void *));
20 
21 void qsort_i(int *bot, int nmemb);
22 void qsort_id(int *bot, double *botd, int nmemb);
23 void qsort_ic(int *bot, char *botc, int nmemb);
24 void qsort_ii(int *bot, int *bota, int nmemb);
25 void qsort_di(double *botd, int *boti, int nmemb);
26 /* TODO: replace with some function from CoinUtils */
27 int sym_gcd(int i1, int i2);
28 double d_gap(double obj_ub, double obj_lb, double obj_offset, char obj_sense);
29 #endif
void qsort_di(double *botd, int *boti, int nmemb)
void qsort_id(int *bot, double *botd, int nmemb)
void qsort_i(int *bot, int nmemb)
int sym_gcd(int i1, int i2)
double d_gap(double obj_ub, double obj_lb, double obj_offset, char obj_sense)
void qsort_ii(int *bot, int *bota, int nmemb)
void qsort_ic(int *bot, char *botc, int nmemb)