Subject: CGAL users discussion list
List archive
- From: Al Mo <>
- To:
- Subject: Re: [cgal-discuss] A bit of help with the Quadratic Programming solver
- Date: Mon, 17 Jun 2019 12:27:23 +0300
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:WGNhgBZLKtlsXVxbXuB60Zv/LSx+4OfEezUN459isYplN5qZoMW7bnLW6fgltlLVR4KTs6sC17OP9fm+BidZut6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCybL9vMRm6txjdu8gUjIdtN6o8xAbCr2dVdehR2W5mP0+YkQzm5se38p5j8iBQtOwk+sVdT6j0fLk2QKJBAjg+PG87+MPktR/YTQuS/XQcSXkZkgBJAwfe8h73WIr6vzbguep83CmaOtD2TawxVD+/4apnVAPkhSEaPDM/7WrZiNF/jLhDrR2uqRxwwY7abo+WOvRjYK3SYcgXSnBdUstLTSFNHp+wYokJAuEcPehYtY79p14WoBaiAQmnGeThyjhVjXLxx6I61+EhEQbd3AwmGNIPvm/ZrNrwNKgIUOC1yLPEwinEb/NTwDrw7pXDfB4mofGJR71wcMzRxFEuFwPDlFWQqJbqMymb1uQXq2SU8+VgWviri2I9rAFxuDevy8ExgYfKnoIY0k7I+Tl9zYovJtC1SFR3bcC5HJdMrS2XOIV7T8U/SG9yoik60KcJuZujcSgK1psnwxnfZuSCc4eS4xLjUP+dITBkhH54Yb6/iRm//Ea6xu3zUcm011lKri5bndXWqn8N0BnT5tCGSvt74EihxS6C2x7P5uxAO0w5lqrWJ4Q/zrItipYfq0vOEyHulEXzlqCWd0Ek+uay6+TgZ7XrvoWTN4txigH5KaQunMu/AOojPwgBWmiU4+W81Ln58ULlR7VKi+U6krPFv5DCOcQbuqm5DhdJ3YYs8Rm/Cy6q38kZnXkcMF1FZQmHj5PyNlHVIPH4CO+/jE62nDdqwfDGJLzhDY/XInjNireyNYt78FNWnQov0chEtdUTEaAEOPu1W0nrtdWeAAV+KB2x2++gCdNz0cQVVmuLR6OYK6jPqkTb2uV6KOaFYMoZuS32NuM+z//ol34w31EHLoez2p5CQXTwO/Mud0ydZH33hNAeOWgPtws6CuftjQvRAnZoe3+uUvdktXkAA4W8ANKbH9z/sPm6xC6+W6ZuSCVeEFnVSCXncoyFX7EHbyfAepY8wAxBbqCoTsoa7T/rtAL+zOA6fO/d+yldso66kdYpvKvckhY98TEyBMOYgTnUHjNE21gQTjpz55hR5El0y1ONy6992qUKGtla5vcPWQA/Z8fR
Thank you all,
My confusion arised when in the sample code (https://doc.cgal.org/latest/QP_solver/index.html : 3.3 Constructing a Program from Iterators
) you only define one element for D1. Then I thought, "well, since the upper part is ignored, they are probably taking it as zeroes and I need to put everything in the lower part of D to compensate". Now I see, that was a wrong assumption. Thank you for clearing up this.
While it is mentioned explicitly in the documentation:
"> D is a symmetric positive-semidefinite n×n matrix (the quadratic objective function)"
Maybe adding small note later to remind us that the ignored values are taken as their symmetric counterpart would be helpful for newcomers.
Best to all and thanks again!
On Mon, 17 Jun 2019, Mael wrote:
> 'D' must be a symmetric matrix
> (https://doc.cgal.org/latest/QP_solver/classCGAL_1_1Quadratic__program__from__iterators.html).
Is there code to check this in debug mode? It looks like there is at least
some check in the _mps version.
--
Marc Glisse
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] A bit of help with the Quadratic Programming solver, Al Mo, 06/12/2019
- Re: [cgal-discuss] A bit of help with the Quadratic Programming solver, Mael, 06/17/2019
- Re: [cgal-discuss] A bit of help with the Quadratic Programming solver, Mael, 06/17/2019
- Re: [cgal-discuss] A bit of help with the Quadratic Programming solver, Marc Glisse, 06/17/2019
- Re: [cgal-discuss] A bit of help with the Quadratic Programming solver, Al Mo, 06/17/2019
- Re: [cgal-discuss] A bit of help with the Quadratic Programming solver, Mael, 06/17/2019
Archive powered by MHonArc 2.6.18.