[Dip-tickets] [Dip] #33: user should not have to create empty matrix for case where oracle is defined
Dip
coin-trac at coin-or.org
Sun Aug 1 22:51:16 EDT 2010
#33: user should not have to create empty matrix for case where oracle is
defined
--------------------+-------------------------------------------------------
Reporter: mgalati | Owner: mgalati
Type: defect | Status: new
Priority: minor | Version: trunk
Keywords: |
--------------------+-------------------------------------------------------
Ok. The user should not even have to do that (create empty matrix).
----- Original Message -----
From: Kipp Martin <kmartin at chicagobooth.edu>
To: Ted Ralphs <ted at Lehigh.EDU>; Matthew Galati
Sent: Thu Jul 29 04:12:00 2010
Subject: Dip Follow Up
Hi Matt/Ted:
I **think** I figured out my answer to question 1 in the previous email.
In the GAP example, I just commented out the lines of code where the
knapsack coefficients are explicitly generated. I guess just having
model->M = new CoinPackedMatrix(false, 0.0, 0.0);
CoinAssertHint(model->M, "Error: Out of Memory");
model->M->setDimensions(0, nCols);
does the trick, but it is not clear from the documentation what I should
be doing.
--
Ticket URL: <https://projects.coin-or.org/Dip/ticket/33>
Dip <https://projects.coin-or.org/Dip>
An extensible software framework for implementing decompositon-based bounding algorithms for use in solving large-scale discrete optimization problems.
More information about the Dip-tickets
mailing list