/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the HiGHS linear optimization suite */ /* */ /* Written and engineered 2008-2022 at the University of Edinburgh */ /* */ /* Available as open-source under the MIT License */ /* */ /* Authors: Julian Hall, Ivet Galabova, Leona Gottwald and Michael */ /* Feldmeier */ /* */ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /**@file util/HighsMatrixUtils.h * @brief Class-independent utilities for HiGHS */ #ifndef UTIL_HIGHSMATRIXUTILS_H_ #define UTIL_HIGHSMATRIXUTILS_H_ #include #include //#include "lp_data/HighsStatus.h" #include "lp_data/HighsOptions.h" using std::vector; HighsStatus assessMatrix(const HighsLogOptions& log_options, const std::string matrix_name, const HighsInt vec_dim, const HighsInt num_vec, vector& matrix_start, vector& matrix_index, vector& matrix_value, const double small_matrix_value, const double large_matrix_value); HighsStatus assessMatrix(const HighsLogOptions& log_options, const std::string matrix_name, const HighsInt vec_dim, const HighsInt num_vec, vector& matrix_start, vector& matrix_p_end, vector& matrix_index, vector& matrix_value, const double small_matrix_value, const double large_matrix_value); HighsStatus assessMatrix( const HighsLogOptions& log_options, const std::string matrix_name, const HighsInt vec_dim, const HighsInt num_vec, const bool partitioned, vector& matrix_start, vector& matrix_p_end, vector& matrix_index, vector& matrix_value, const double small_matrix_value, const double large_matrix_value); HighsStatus assessMatrixDimensions(const HighsLogOptions& log_options, const HighsInt num_vec, const bool partitioned, const vector& matrix_start, const vector& matrix_p_end, const vector& matrix_index, const vector& matrix_value); #endif // UTIL_HIGHSMATRIXUTILS_H_