Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
COIN_common_functions.h
1#ifndef COIN_COMMON_FUNCTIONS_H
2#define COIN_COMMON_FUNCTIONS_H
3#include <vector>
4
5#include "CoinPackedMatrix.hpp"
6namespace coin_common {
7
8void fill_rows_from_COIN_matrix(const CoinPackedMatrix &matrix, int *mstart,
9 int *mclind, double *dmatval, int *nels,
10 int first, int last);
11
12void fill_row_type_from_row_bounds(const double *rowLower,
13 const double *rowUpper, char *qrtype,
14 int first, int last);
15
16void fill_rhs_from_bounds(const double *rowLower, const double *rowUpper,
17 double *rhs, int first, int last);
18void fill_row_bounds_from_new_rows_data(std::vector<double> &rowLower,
19 std::vector<double> &rowUpper,
20 int newrows, const char *qrtype,
21 const double *rhs);
22} // namespace coin_common
23
24#endif // COIN_COMMON_FUNCTIONS_H