From 708bbe336b1784287c1921c126ca9ae3c2f3320b Mon Sep 17 00:00:00 2001 From: Kazem Date: Thu, 24 Sep 2020 21:24:33 -0400 Subject: [PATCH] adding lower to bounded form --- mp_format_converter.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mp_format_converter.h b/mp_format_converter.h index 04fbeef..0221da4 100644 --- a/mp_format_converter.h +++ b/mp_format_converter.h @@ -748,7 +748,9 @@ namespace format { smp_->desc_struct_=bf_->desc; smp_->desc_=smp_->desc_struct_.get_desc(); problem_name = smp_->desc_struct_.name_; - smp_->H_ = sym_lib::copy_sparse(bf_->H); + //smp_->H_ = sym_lib::copy_sparse(bf_->H); + smp_->H_ = sym_lib::make_half(bf_->H->n,bf_->H->p, + bf_->H->i, bf_->H->x,true); smp_->H_->stype = LOWER; smp_->q_ = sym_lib::copy_dense(bf_->q); smp_->r_ = bf_->fixed;