1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the HiGHS linear optimization suite */
/* */
/* Available as open-source under the MIT License */
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/**@file simplex/HighsLpSolverObject.h
* @brief Collection of class instances required to solve an LP
*/
#ifndef LP_DATA_HIGHS_LP_SOLVER_OBJECT_H_
#define LP_DATA_HIGHS_LP_SOLVER_OBJECT_H_
#include "lp_data/HighsInfo.h"
#include "lp_data/HighsOptions.h"
#include "simplex/HEkk.h"
class HighsLpSolverObject {
public:
HighsLpSolverObject(HighsLp& lp, HighsBasis& basis, HighsSolution& solution,
HighsInfo& highs_info, HEkk& ekk_instance,
HighsCallback& callback, HighsOptions& options,
HighsTimer& timer,
HighsSubSolverCallTime& sub_solver_call_time)
: lp_(lp),
basis_(basis),
solution_(solution),
highs_info_(highs_info),
ekk_instance_(ekk_instance),
callback_(callback),
options_(options),
timer_(timer),
sub_solver_call_time_(sub_solver_call_time) {}
HighsLp& lp_;
HighsBasis& basis_;
HighsSolution& solution_;
HighsInfo& highs_info_;
HEkk& ekk_instance_;
HighsCallback& callback_;
HighsOptions& options_;
HighsTimer& timer_;
HighsSubSolverCallTime& sub_solver_call_time_;
HighsModelStatus model_status_ = HighsModelStatus::kNotset;
};
#endif // LP_DATA_HIGHS_LP_SOLVER_OBJECT_H_