@@ -619,21 +619,11 @@ void PreprocessFormulation::print(std::stringstream& stream) const {
619619
620620void PreprocessFreeVars::apply (Model& model) {
621621 Int& n = model.n_ ;
622- Int& m = model.m_ ;
623- HighsSparseMatrix& A = model.A_ ;
624- std::vector<double >& b = model.b_ ;
625- std::vector<double >& c = model.c_ ;
626622 std::vector<double >& lower = model.lower_ ;
627623 std::vector<double >& upper = model.upper_ ;
628- std::vector<char >& constraints = model.constraints_ ;
629- HighsHessian& Q = model.Q_ ;
630624 std::vector<bool >& is_free = model.is_free_ ;
631625
632- n_pre = n;
633- m_pre = m;
634-
635626 is_free.assign (n, false );
636-
637627 for (Int i = 0 ; i < n; ++i) {
638628 if (!std::isfinite (lower[i]) && !std::isfinite (upper[i]) &&
639629 lower[i] != upper[i]) {
@@ -644,17 +634,10 @@ void PreprocessFreeVars::apply(Model& model) {
644634 upper[i] = kFreeVarsInitialBound ;
645635 }
646636 }
647-
648- n_post = n;
649- m_post = m;
650637}
651638
652639void PreprocessFreeVars::undo (PreprocessorPoint& point, const Model& model,
653- const Iterate& it) const {
654- point.assertConsistency (n_post, m_post);
655- //
656- point.assertConsistency (n_pre, m_pre);
657- }
640+ const Iterate& it) const {}
658641
659642void PreprocessFreeVars::print (std::stringstream& stream) const {
660643 if (free_vars > 0 ) stream << " Found " << free_vars << " free variables\n " ;
0 commit comments