Skip to content

Commit 39955f1

Browse files
committed
remove a function from lar_solver
Signed-off-by: Lev Nachmanson <[email protected]>
1 parent 4e56834 commit 39955f1

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/math/lp/lar_solver.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ namespace lp {
1616
};
1717

1818
struct imp {
19-
2019
lar_solver &lra;
2120
var_register m_var_register;
2221
svector<column> m_columns;
@@ -1723,14 +1722,6 @@ namespace lp {
17231722
return m_mpq_lar_core_solver.column_is_free(j);
17241723
}
17251724

1726-
// below is the initialization functionality of lar_solver
1727-
1728-
lpvar lar_solver::add_named_var(unsigned ext_j, bool is_int, const std::string& name) {
1729-
lpvar j = add_var(ext_j, is_int);
1730-
m_imp->m_var_register.set_name(j, name);
1731-
return j;
1732-
}
1733-
17341725
struct lar_solver::undo_add_column : public trail {
17351726
lar_solver& s;
17361727
undo_add_column(lar_solver& s) : s(s) {}

src/math/lp/lar_solver.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,6 @@ class lar_solver : public column_namer {
296296
set_column_value(j, v);
297297
}
298298

299-
lpvar add_named_var(unsigned ext_j, bool is_integer, const std::string&);
300-
301299
lp_status maximize_term(unsigned j_or_term, impq& term_max);
302300

303301
inline core_solver_pretty_printer<lp::mpq, lp::impq> pp(std::ostream& out) const {

0 commit comments

Comments
 (0)