Skip to content

Commit

Permalink
removals
Browse files Browse the repository at this point in the history
  • Loading branch information
levnach committed Mar 3, 2023
1 parent a447724 commit 2ec0994
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion src/math/lp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ z3_add_component(lp
lp_dual_core_solver.cpp
lp_primal_core_solver.cpp
lp_settings.cpp
lp_solver.cpp
lu.cpp
lp_utils.cpp
matrix.cpp
Expand Down
15 changes: 0 additions & 15 deletions src/test/lp/lp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1549,21 +1549,6 @@ int get_random_int() {
return -1 + my_random() % 2; // (1.0 + RAND_MAX);
}

void add_random_row(lp_primal_simplex<double, double> * solver, int cols, int row) {
solver->add_constraint(lp_relation::Greater_or_equal, 1, row);
for (int i = 0; i < cols; i++) {
solver->set_row_column_coefficient(row, i, get_random_int());
}
}

void add_random_cost(lp_primal_simplex<double, double> * solver, int cols) {
for (int i = 0; i < cols; i++) {
solver->set_cost_for_column(i, get_random_int());
}
}



#ifndef _WINDOWS
void fill_file_names(vector<std::string> &file_names, std::set<std::string> & minimums) {
char *home_dir = getenv("HOME");
Expand Down

0 comments on commit 2ec0994

Please sign in to comment.