coin-or / flopcpp Goto Github PK
View Code? Open in Web Editor NEWAn open source algebraic modelling language implemented as a C++ class library
Home Page: https://projects.coin-or.org/FlopC++
License: Other
An open source algebraic modelling language implemented as a C++ class library
Home Page: https://projects.coin-or.org/FlopC++
License: Other
FlopCpp README ============== For the FlopCp README file, please see the file FlopCpp/README. For the README files of other COIN-OR projects included in this distribution, please see the README files in their associated subdirectories.
After cloning the repository and cd
into FlopCpp
:
$ sudo ./configure > log.txt
Configuration is successful. However, it is relevant for this ticket to note that there does not seem to be a check for the COIN-OR package CoinUtils
. From the configure script output in log.txt:
checking for pkg-config... pkg-config
checking pkg-config is at least version 0.16.0... yes
checking for COIN-OR package Osi... yes: devel
checking for COIN-OR package Cbc... yes: devel
checking for COIN-OR package Clp... yes: devel
checking whether this is a VPATH configuration... no
configure: configuring doxygen documentation options
Next, running make:
$ sudo make
Make appears to be successful.
Now testing:
$ sudo make test &> testout.txt
From the testout.txt:
...
creating unitTest
./unitTest
/home/bcdandurand/COIN-OR/FlopCpp/FlopCpp/unittest/.libs/lt-unitTest: error while loading shared libraries: libCoinUtils.so.0: cannot open shared object file: No such file or directory
make[2]: *** [Makefile:547: test] Error 127
make[2]: Leaving directory '/home/bcdandurand/COIN-OR/FlopCpp/FlopCpp/unittest'
make[1]: *** [Makefile:794: test] Error 2
make[1]: Leaving directory '/home/bcdandurand/COIN-OR/FlopCpp/FlopCpp'
make: *** [Makefile:679: test] Error 2
I know I have the needed CoinUtils libraries installed in my /usr/local/lib
as with other COIN-OR libraries. As noted earlier, the configure script of the root FlopCpp directory does not seem to check for this library (it checks for other needed COIN-OR libraries as seen above). Also, CoinUtils is listed under FlopCpp/Dependencies.
I am attempting this build in WSL 2 with Ubuntu.
Issue created by migration from Trac.
Original creator: hpwalton
Original creation time: 2006-07-23 16:47:09
Assignee: somebody
Version:
Motivation:
Much of FlopC++ is untested in the current examples code. This in itself is fine. However, there are cases with MSVC where runtime code may not behave as expected even if the compile is successful. This can be the case with other compilers, but is less likely.
Further, when working with multiple environments, changes which work in one environment may have subtle differences in other environments. These can cause difficulties and behavior issues.
Proposal:
Create some simple unit tests for each major publicly exposed object which:
1- At a minimum calls every method with a few different settings for parameters.
2- Detects and verifies expected outcomes.
3- Is set up in such a way that multiples can be run together if desired.
4- Can be readily updated to regression test bugs which are found and repaired...thus eliminating the cause of repeated bugs.
5- Can be used to ensure that extensions are unlikely to break existing code.
I have some further ideas on this...if this is interesting I can create and attach additional information.
Issue created by migration from Trac.
Original creator: thh
Original creation time: 2005-11-30 15:03:50
Assignee: somebody
Version:
Neste subsets such as in
sum(linkDays(links(cust1, cust2),day), ... );
where linkDays and links are both subsets, should be possible. But does currently not work.
Issue created by migration from Trac.
Original creator: @svigerske
Original creation time: 2008-06-15 14:16:03
Assignee: somebody
Version:
Hi,
a build of FlopC++ trunk in debug mode fails with
unitTest: CoinUtils/src/CoinPackedMatrix.cpp:2196: CoinPackedMatrix::CoinPackedMatrix(const CoinPackedMatrix&, int, int, bool): Assertion `size_==size' failed.
Stefan
Issue created by migration from Trac.
Original creator: mkaut
Original creation time: 2009-09-22 12:17:46
Assignee: somebody
Version: 1.0
In MP_model::solve(), FlopC++ reports the optimal objective and model size, regardless of the verbosity level. This gets very annoying if one solves many problems.
The presented modification switches off the messages if FloppC++ is in silent mode (i.e. the method silent() was called). This is done by implementing a new messenger class.
I attach the changes as patches done by the "diff -u" command against the stable 1.0 files .. if this is not the correct/recommended way of doing things, let me know...
Issue created by migration from Trac.
Original creator: hpwalton
Original creation time: 2006-07-22 02:57:47
Assignee: somebody
Version:
Motivation:
It can sometimes be very useful to add many constraints into a cut set in order to tighten an LP relaxation (for example). However, it can be a rather large set which may slow the LP down significantly if added a priori. Binding these as needed can significantly speed up solving LPs.
Proposal:
Allow normal FlopC++ specification of the constraint, but mark it (attribute on the constraint?) as a cut set. At runtime, instead of instantiating this to the normal constraint block, add them to appropriate Cgl structures. In turn, the Cgl structures will be added to the OsiSolverInterface.
Issue created by migration from Trac.
Original creator: [email protected]
Original creation time: 2006-03-27 02:38:27
Assignee: somebody
Version: 1.0
Keywords: operator
Here is a MP_constraint ST(Line)
I coded these firstly:
ST(Line) = deltaL(Line) / MAXLINE(Line) / MARGIN(Line) <= lamda();
but what-next that's a complication error:
" no match at ‘operator/’ 在 ‘deltaL. flopc::MP_variable::operator()(((const flopc::MP_index_exp&)......
then I change this line to "ST(Line) = deltaL(Line) <= lamda() * MAXLINE(Line) * MARGIN(Line);"
it works now.
I think it's better add a 'operator/' as a class member function.
Greeting from Changsha,China. Huang.Y
Issue created by migration from Trac.
Original creator: hpwalton
Original creation time: 2006-07-22 02:50:31
Assignee: hpwalton
Version:
Motivation: It is not always desirable to see output to the screen. The display methods always use cout.
Proposal:
create a toString() method for all the public interface classes. These would print whatever information is attached and valid at the time of invocation. Note that some data may not be completely attached yet. In those cases it should report as such.
Calling toString() on the Model should cascade.
Bonus points:
Create a toMathML() method such that if the user wishes to get a browser render-able version of the formulation.
Note: no need to interrupt the display() methods. They can leverage toString() to generate the text.
Note: Also add "Named" as a base class to many other classes. This allows for more "human readable" debugging.
Note: With many items as "Named" subclasses, and having "Named" as the "owner" of the toString() method, it should be relatively easy to produce left shift operators into an ostream for convenience of printing (e.g. std::ostream &operator<<(std::ostream &os, const MP_model &model); will allow a call like:
MP_model model;
...
cout<<model<<std::endl;
(changed by hpwalton at 2006-07-22 03:11:24)
Issue created by migration from Trac.
Original creator: mkaut
Original creation time: 2010-10-18 11:27:21
Assignee: somebody
Version:
I believe that the following include lines in MP_model.hpp are wrong:
#include <CoinPackedVector.hpp>
#include <CoinPackedMatrix.hpp>
The reason is that all Coin-OR libraries are by default installed into include/coin directory, so I believe the code should be
#include <coin/CoinPackedVector.hpp>
#include <coin/CoinPackedMatrix.hpp>
Actually, "CoinPackedVector.hpp"
should work as well, but I think the above is better.
While this should probably be fixed also in the .cpp files, it is not as important there, since the build script uses local versions anyway. The header files, on the other hand, are used together with the installed version and hence must point to the right places (so people do not have to add include/coin dir. manually).
(I tried the Debian version of Coin-OR and FlopC++ models won't compile unless one changes the include paths..)
Ticket 7 had been deleted in the original Trac instance. This empty ticket serves as placeholder to ensure a proper 1:1 mapping of ticket ids to issue ids.
Ticket 5 had been deleted in the original Trac instance. This empty ticket serves as placeholder to ensure a proper 1:1 mapping of ticket ids to issue ids.
Dear authors,
Thank you for the very interesting project! I would like to know if this interface offers the possibility to specify Warm Starts or an Initial Solution (e.g. this should be possible in a solver as Coin-OR CBC through the method CbcModel::setMIPStart); this should correspond to the possibility to provide to the solver an initial known feasible solution.
This is an extremely useful feature, as often straightforward heuristics provide starting solutions that the solver should be able to use to significantly prune the searching space.
Thank you
Issue created by migration from Trac.
Original creator: frangio
Original creation time: 2014-03-25 12:44:28
Assignee: somebody
Version:
System: latest OSX (10.9.2)
g++ 4.6.0 (XCode default)
Just got FlopC++ from SVN (release/1.1.7), config'd and make'd without any issue. When I compile code using FlopC++ I get
[...]FlopCpp/include/coin/MP_domain.hpp:179:18: error: return type of virtual function
'getSet' is not covariant with the return type of the function it overrides
('flopc::MP_set_base' is incomplete)
MP_set_base* getSet() const {
It would seem deep in the bowels of FlopC++, so not likely to be an issue of how I'm using it (besides, the very same code was working in a previous version). Yet, my code is simple and I'm happy to provide it if it helps.
Ticket 8 had been deleted in the original Trac instance. This empty ticket serves as placeholder to ensure a proper 1:1 mapping of ticket ids to issue ids.
Issue created by migration from Trac.
Original creator: @LouHafer
Original creation time: 2008-05-23 16:08:16
Assignee: somebody
Version:
Keywords: Solaris Studio implicit copy constructor
The MP_variable constructor uses this idiom
upperLimit(MP_data(s1,s2,s3,s4,s5)),
to initialise upperLimit and lowerLimit. As Sun interprets the C++ standards, this creates an implicit requirement for a copy constructor for MP_data, which is explicitly disabled. I can't see why the nested constructor is needed --- upperLimit and lowerLimit are both of type MP_data. Direct construction seems to work just fine:
upperLimit(s1,s2,s3,s4,s5),
With matching changes for lowerLimit, FlopC++ will build and pass its unit test on Solaris with Studio compilers.
Issue created by migration from Trac.
Original creator: thh
Original creation time: 2005-11-30 14:19:56
Assignee: somebody
Version:
The display for constraint is meant to list the values of the dual variables of the optimal solution. BTW display for MP_variables before solving also crashes. I must correct this.
Issue created by migration from Trac.
Original creator: hpwalton
Original creation time: 2006-07-22 03:03:44
Assignee: hpwalton
Version:
Motivation: The logging facility built into Flopc++ by default prints to cout and some messages go directly to cout regardless of the source or settings.
Proposal:
Add a (somewhat) more sophisticated logging mechanism which tracks not only FlopC++ messages, but COIN messages as well.
Issue created by migration from Trac.
Original creator: mkaut
Original creation time: 2009-09-22 13:15:21
Assignee: somebody
Version: 1.0
New variables are created with upper-bound equal to the infinity from defaultModel. If this happens to differ from the solver's infinity (as it does for glpk), strange things happen.
I propose to fixed it in the MP_model::assert() method, i.e. right before we create the Osi object.
This means replacing lines 366-371 in MP_model.cpp:
for (varIt i=Variables.begin(); i!=Variables.end(); i++) {
for (int k=0; k<(*i)->size(); k++) {
l[(*i)->offset+k] = (*i)->lowerLimit.v[k];
u[(*i)->offset+k] = (*i)->upperLimit.v[k];
}
}
by the following:
// Any unlimited bounds are set using getDefaultModel().getInfinity().
// If the solver's infinity is different, this would create problems...
double defInf = getDefaultModel().getInfinity();
for (varIt i=Variables.begin(); i!=Variables.end(); i++) {
for (int k=0; k<(*i)->size(); k++) {
if ((*i)->lowerLimit.v[k] == -defInf) { // is '==' OK for double?
l[(*i)->offset+k] = -inf;
} else {
l[(*i)->offset+k] = (*i)->lowerLimit.v[k];
}
if ((*i)->upperLimit.v[k] == defInf) { // is '==' OK for double?
u[(*i)->offset+k] = inf;
} else {
u[(*i)->offset+k] = (*i)->upperLimit.v[k];
}
}
}
In file included from MP_constraint.cpp:12:
In file included from ./MP_constraint.hpp:15:
./MP_set.hpp:212:9: error: no matching conversion for functional-style cast from 'const flopc::SUBSETREF' to 'flopc::MP_domain'
return MP_domain(s);
^~~~~~~~~~~
OS: FreeBSD 12.2
Issue created by migration from Trac.
Original creator: mkaut
Original creation time: 2007-05-10 00:02:14
Assignee: somebody
Version:
I have a problem building the examples, using https://projects.coin-or.org/svn/FlopC++/stable/1.0 on Windows XP with MinGW (gcc 3.4.5) and MSYS. I also tried /releases/1.0.1 (rev. 136), with the same results.
The package as such builds OK, including "make test" and "make install", but when I tried to "make" any of the examples, none of them compiles/links.
As an example, these are the first error messages I get for "make ampl":
Wl,-rpath,../lib -lFlopCpp -lOsi -lOsiClp -lClp -lOsiCbc -lCbc -lCoinUtils -lCgl ampl.cpp -o ampl
C:/DOCUME~1/kaut/LOCALS~1/Temp/ccEFcaaa.o: In function `main':c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:13: undefined reference to `flopc::MP_model::getDefaultModel()'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:14: undefined reference to `OsiClpSolverInterface::OsiClpSolverInterface()'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:14: undefined reference to `OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*)'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:27: undefined reference to `flopc::MP_set::getEmpty()'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:27: undefined reference to `flopc::MP_set::getEmpty()'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:27: undefined reference to `flopc::MP_set::getEmpty()'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:27: undefined reference to `flopc::MP_set::getEmpty()'
:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:28: undefined reference to `flopc::MP_set::getEmpty()'
C:/DOCUME~1/kaut/LOCALS~1/Temp/ccEFcaaa.o:c:/Appl/Math/Coin-OR/coin-FlopCpp/FlopCpp/examples/ampl.cpp:28: more undefined references to `flopc::MP_set::getEmpty()' follow
Thanks a lot in advance.
Regards,
Michal
Issue created by migration from Trac.
Original creator: hpwalton
Original creation time: 2006-08-25 02:24:48
Assignee: hpwalton
Version:
Motivation:
There are issues with static variables being directly accessed via MSVC. This change will be similar to the "getEmpty()" calls already changed.
Simple code changes, should be quick and easy.
Issue created by migration from Trac.
Original creator: thh
Original creation time: 2005-11-30 14:22:31
Assignee: somebody
Version:
I will change FLOPC++, not to include obviously empty constraint blocks in the generated problem. However, in any case I think you should still include a small preprocessing step for yor solver to remove empty rows (and possibly more)
For example I do not plan to check for empty rows coming from constraints like
somedata <= someotherdata
or similar
Issue created by migration from Trac.
Original creator: hpwalton
Original creation time: 2006-07-22 02:47:13
Assignee: hpwalton
Version:
Motivation: It is difficult to do special things like SOS currently. SOS requires observation of data in the matrix before it can be set up properly. However, it must be done before the call to solve();
Another symptom of this is the "writeMPS" call in the midst of the code commented out.
The client of the model could call that on their own if they had a moment break in between the generation and the solving of the model
Proposal:
split "minimize"/"maximize"/... into a few bits:
If absolutely necessary, I can fabricate minimize() and maximize() to behave as they do today. This is a little tricky, but can be done.
This would also allow folks to simply generate an MPS/LP file while debugging the model readily. I find this to be extraordinarily helpful.
May also need "detach()" -- discussion point.
(changed by hpwalton at 2006-07-22 03:06:49)
Issue created by migration from Trac.
Original creator: lovaj
Original creation time: 2013-03-12 09:34:38
Assignee: somebody
Version:
Hello! I'm an italian guy student, so sorry for my BAD english! I need your help about the Coin-All project, and it uses a lot of FlopC++ project, so I made this ticket in these section! Sorry if it's wrong.
I'm trying to use a project made by my Prof. This is his the makefile, edited by me for my system (I'm using Ubuntu 12.04 and the binary version of Coin-All):
# module name
NAME = cwl3
# switches
SW = -O3 -g
# COIN base directory
COINDIR = /home/luca-kun/Desktop/LOG/coin-All/
# Osi libreries
OSIINC = -I$(COINDIR)include/coin
OSILIB = -L$(COINDIR)lib -lFlopCpp -lOsiCbc -lOsiClp -lCbc -lCbcSolver -lCgl \
-lClp -lOsi -lCoinUtils
# libreries
# mac version
#LIB = $(OSILIB) -lm -framework vecLib
# standard version
LIB = $(OSILIB) -llapack -lm
# compiler
CC = g++
# default target- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
default: $(NAME)
# clean - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
clean::
rm -f *.o *~ $(NAME)
# main module (linking phase) - - - - - - - - - - - - - - - - - - - - - - - -
OBJ = cwl3.o
$(NAME): $(OBJ)
$(CC) -o $(NAME) $(OBJ) $(LIB) $(SW)
# dependencies: every .o from its .C + every recursively included .h- - - - -
cwl3.o: cwl3.cpp
$(CC) -c $*.cpp -o $`@` $(OSIINC) $(SW)
############################ End of makefile #################################
But I try to compile the project, I have this error:
/home/luca-kun/Desktop/LOG/coin-All/lib/libClp.so: undefined reference to `MPI_Finalize'
/home/luca-kun/Desktop/LOG/coin-All/lib/libClp.so: undefined reference to `MPI_Comm_rank'
/home/luca-kun/Desktop/LOG/coin-All/lib/libClp.so: undefined reference to `MPI_Init'
/home/luca-kun/Desktop/LOG/coin-All/lib/libCoinUtils.so: undefined reference to `gzwrite'
/home/luca-kun/Desktop/LOG/coin-All/lib/libCoinUtils.so: undefined reference to `gzopen'
/home/luca-kun/Desktop/LOG/coin-All/lib/libClp.so: undefined reference to `dmumps_c'
/home/luca-kun/Desktop/LOG/coin-All/lib/libCoinUtils.so: undefined reference to `gzclose'
/home/luca-kun/Desktop/LOG/coin-All/lib/libCoinUtils.so: undefined reference to `gzread'
collect2: ld returned 1 exit status
make: *** [cwl3] Error 1
I don't really understand what it's wrong...
Again, sorry for my english.
Regards!
Ticket 6 had been deleted in the original Trac instance. This empty ticket serves as placeholder to ensure a proper 1:1 mapping of ticket ids to issue ids.
Issue created by migration from Trac.
Original creator: Stu
Original creation time: 2006-12-08 05:12:22
Assignee: somebody
Version:
When building under cygwin (see [https://projects.coin-or.org/Osi/ticket/16] for details of the hack to build Osi)
the following is observed as the error from
make test
g++ -O3 -fomit-frame-pointer -mno-cygwin -pipe -DNDEBUG -pedantic-errors -Wimpli
cit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-string
s -Wconversion -o unitTest.exe unitTest.o ../src/.libs/libFlopCpp.a /cygdrive/d
/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiCbc/.libs/libOsiCbc.a /cygd
rive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cbc/src/.libs/libCbc.a /cygdrive
/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsiClp.a /cy
gdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Clp/src/.libs/libClp.a /cygdri
ve/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cgl/src/.libs/libCgl.a /cygdrive/d
/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/.libs/libOsi.a /cygdrive/d/lib
raries/coin-FlopCpp-stable/FlopCpp/../CoinUtils/src/.libs/libCoinUtils.a
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cbc/src/.libs/libCbc.a(CbcM
odel.o):CbcModel.cpp:(.text+0xad3): undefined reference to `_getrusage'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cbc/src/.libs/libCbc.a(CbcM
odel.o):CbcModel.cpp:(.text+0xad03): undefined reference to `___getreent'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cbc/src/.libs/libCbc.a(CbcM
odel.o):CbcModel.cpp:(.text+0x11787): undefined reference to `_getrusage'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cbc/src/.libs/libCbc.a(CbcM
odel.o):CbcModel.cpp:(.text+0x1290c): undefined reference to `_getrusage'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cbc/src/.libs/libCbc.a(CbcM
odel.o):CbcModel.cpp:(.text+0x14484): undefined reference to `_getrusage'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cbc/src/.libs/libCbc.a(CbcM
odel.o):CbcModel.cpp:(.text+0x18ef5): undefined reference to `_getrusage'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cbc/src/.libs/libCbc.a(CbcM
odel.o):CbcModel.cpp:(.text+0x1baa2): undefined reference to `_getrusage'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Cbc/src/.libs/libCbc.a(CbcM
odel.o):CbcModel.cpp:(.text+0x1bfd8): more undefined references to `_getrusage'
follow
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsi
Clp.a(OsiClpSolverInterface.o):OsiClpSolverInterface.cpp:(.text+0x231): undefine
d reference to `___assert'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsi
Clp.a(OsiClpSolverInterface.o):OsiClpSolverInterface.cpp:(.text+0xe92): undefine
d reference to `___assert'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsi
Clp.a(OsiClpSolverInterface.o):OsiClpSolverInterface.cpp:(.text+0xeb8): undefine
d reference to `___assert'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsi
Clp.a(OsiClpSolverInterface.o):OsiClpSolverInterface.cpp:(.text+0x2689): undefin
ed reference to `___assert'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsi
Clp.a(OsiClpSolverInterface.o):OsiClpSolverInterface.cpp:(.text+0x26ac): undefin
ed reference to `___assert'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsi
Clp.a(OsiClpSolverInterface.o):OsiClpSolverInterface.cpp:(.text+0x2d63): more un
defined references to `___assert' follow
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsi
Clp.a(OsiClpSolverInterface.o):OsiClpSolverInterface.cpp:(.text+0x5d72): undefin
ed reference to `_getrusage'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsi
Clp.a(OsiClpSolverInterface.o):OsiClpSolverInterface.cpp:(.text+0x63e5): undefin
ed reference to `_getrusage'
/cygdrive/d/libraries/coin-FlopCpp-stable/FlopCpp/../Osi/src/OsiClp/.libs/libOsi
Clp.a(OsiClpSolverInterface.o):OsiClpSolverInterface.cpp:(.text+0x65f6): undefin
ed reference to `___assert'
This problem is fixed by removing -mno-cygwin from the compile options (its in several places in the makefile)
see
[http://www.cygwin.com/ml/cygwin/2004-03/msg00289.html]
for a discussion of a similar error
Issue created by migration from Trac.
Original creator: @jpfasano
Original creation time: 2007-07-10 19:42:02
Assignee: somebody
Version:
FlopC++ no longer compiles with Microsoft Visual C++ Version 7.
The compile time error messages are:
Compiling...
MP_set.cpp
d:\COIN\Coin-FlopCpp-All\trunk\FlopCpp\src\MP_constraint.hpp(97) : error C2664: 'flopc::Constraint::Constraint(const flopc::MP_expression &,const flopc::MP_expression &,flopc::Sense_enum)' : cannot convert parameter 1 from 'const flopc::VariableRef' to 'const flopc::MP_expression &'
Reason: cannot convert from 'const flopc::VariableRef' to 'const flopc::MP_expression'
Source or target has incomplete type
d:\COIN\Coin-FlopCpp-All\trunk\FlopCpp\src\MP_constraint.hpp(130) : error C2664: 'flopc::Constraint::Constraint(const flopc::MP_expression &,const flopc::MP_expression &,flopc::Sense_enum)' : cannot convert parameter 1 from 'const flopc::VariableRef' to 'const flopc::MP_expression &'
Reason: cannot convert from 'const flopc::VariableRef' to 'const flopc::MP_expression'
Source or target has incomplete type
d:\COIN\Coin-FlopCpp-All\trunk\FlopCpp\src\MP_constraint.hpp(163) : error C2664: 'flopc::Constraint::Constraint(const flopc::MP_expression &,const flopc::MP_expression &,flopc::Sense_enum)' : cannot convert parameter 1 from 'const flopc::VariableRef' to 'const flopc::MP_expression &'
Reason: cannot convert from 'const flopc::VariableRef' to 'const flopc::MP_expression'
Source or target has incomplete type
Issue created by migration from Trac.
Original creator: @svigerske
Original creation time: 2008-07-08 10:57:25
Assignee: somebody
Version:
This is from running valgrind on the unittest in trunk:
==14577== Memcheck, a memory error detector.
==14577== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==14577== Using LibVEX rev 1732, a library for dynamic binary translation.
==14577== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==14577== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==14577== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==14577== For more details, rerun with: -v
==14577==
==14577== Invalid read of size 8
==14577== at 0x412BE0: flopc::MP_constraint::display(std::string) const (MP_constraint.cpp:92)
==14577== by 0x4090B6: main (unitTest.cpp:141)
==14577== Address 0x51B7428 is 56 bytes inside a block of size 88 free'd
==14577== at 0x4A04F99: operator delete[](void*) (vg_replace_malloc.c:256)
==14577== by 0x41E884: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:398)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577== Invalid read of size 8
==14577== at 0x412C1B: flopc::MP_constraint::display(std::string) const (MP_constraint.cpp:92)
==14577== by 0x4090B6: main (unitTest.cpp:141)
==14577== Address 0x51B73A0 is 56 bytes inside a block of size 88 free'd
==14577== at 0x4A04F99: operator delete[](void*) (vg_replace_malloc.c:256)
==14577== by 0x41E85E: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:397)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577== Invalid read of size 8
==14577== at 0x412BE0: flopc::MP_constraint::display(std::string) const (MP_constraint.cpp:92)
==14577== by 0x409182: main (unitTest.cpp:142)
==14577== Address 0x51B7400 is 16 bytes inside a block of size 88 free'd
==14577== at 0x4A04F99: operator delete[](void*) (vg_replace_malloc.c:256)
==14577== by 0x41E884: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:398)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577== Invalid read of size 8
==14577== at 0x412C1B: flopc::MP_constraint::display(std::string) const (MP_constraint.cpp:92)
==14577== by 0x409182: main (unitTest.cpp:142)
==14577== Address 0x51B7378 is 16 bytes inside a block of size 88 free'd
==14577== at 0x4A04F99: operator delete[](void*) (vg_replace_malloc.c:256)
==14577== by 0x41E85E: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:397)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577== Invalid read of size 8
==14577== at 0x412BE0: flopc::MP_constraint::display(std::string) const (MP_constraint.cpp:92)
==14577== by 0x40924E: main (unitTest.cpp:143)
==14577== Address 0x51B73F0 is 0 bytes inside a block of size 88 free'd
==14577== at 0x4A04F99: operator delete[](void*) (vg_replace_malloc.c:256)
==14577== by 0x41E884: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:398)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577== Invalid read of size 8
==14577== at 0x412C1B: flopc::MP_constraint::display(std::string) const (MP_constraint.cpp:92)
==14577== by 0x40924E: main (unitTest.cpp:143)
==14577== Address 0x51B7368 is 0 bytes inside a block of size 88 free'd
==14577== at 0x4A04F99: operator delete[](void*) (vg_replace_malloc.c:256)
==14577== by 0x41E85E: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:397)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577== Invalid read of size 8
==14577== at 0x412BE0: flopc::MP_constraint::display(std::string) const (MP_constraint.cpp:92)
==14577== by 0x40931A: main (unitTest.cpp:144)
==14577== Address 0x51B73F8 is 8 bytes inside a block of size 88 free'd
==14577== at 0x4A04F99: operator delete[](void*) (vg_replace_malloc.c:256)
==14577== by 0x41E884: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:398)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577== Invalid read of size 8
==14577== at 0x412C1B: flopc::MP_constraint::display(std::string) const (MP_constraint.cpp:92)
==14577== by 0x40931A: main (unitTest.cpp:144)
==14577== Address 0x51B7370 is 8 bytes inside a block of size 88 free'd
==14577== at 0x4A04F99: operator delete[](void*) (vg_replace_malloc.c:256)
==14577== by 0x41E85E: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:397)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577== ERROR SUMMARY: 22 errors from 8 contexts (suppressed: 5 from 1)
==14577== malloc/free: in use at exit: 113,478 bytes in 432 blocks.
==14577== malloc/free: 2,829 allocs, 2,397 frees, 7,572,454 bytes allocated.
==14577== For counts of detected errors, rerun with: -v
==14577== searching for pointers to 432 not-freed blocks.
==14577== checked 169,824 bytes.
==14577==
==14577==
==14577== 8 bytes in 1 blocks are still reachable in loss record 1 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41C489: __static_initialization_and_destruction_0(int, int) (MP_model.cpp:24)
==14577== by 0x41C4E5: _GLOBAL__I__ZN5flopc8MP_model13default_modelE (MP_model.cpp:510)
==14577== by 0x7A1295: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577== by 0x402CF2: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577==
==14577==
==14577== 16 bytes in 2 blocks are indirectly lost in loss record 2 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x44E7F1: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4168)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 16 bytes in 2 blocks are indirectly lost in loss record 3 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4E89E4: __gnu_cxx::new_allocator<std::string>::allocate(unsigned long, void const*) (new_allocator.h:92)
==14577== by 0x4E8A13: std::_Vector_base<std::string, std::allocator<std::string> >::_M_allocate(unsigned long) (stl_vector.h:144)
==14577== by 0x4E8CDD: std::vector<std::string, std::allocator<std::string> >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*, std::vector<std::string, std::allocator<std::string> > >, std::string const&) (vector.tcc:308)
==14577== by 0x4E8EC1: std::vector<std::string, std::allocator<std::string> >::push_back(std::string const&) (stl_vector.h:694)
==14577== by 0x71AF4D: CoinMessageHandler::operator<<(std::string const&) (CoinMessageHandler.cpp:773)
==14577== by 0x5F1048: ClpSimplex::initialSolve(ClpSolve&) (ClpSolve.cpp:2385)
==14577== by 0x4E2C28: OsiClpSolverInterface::initialSolve() (OsiClpSolverInterface.cpp:354)
==14577== by 0x4240DD: OsiCbcSolverInterface::initialSolve() (OsiCbcSolverInterface.cpp:50)
==14577== by 0x41CC82: flopc::MP_model::solve(flopc::MP_model::MP_direction const&) (MP_model.cpp:447)
==14577== by 0x41EB56: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:214)
==14577== by 0x409672: main (unitTest.cpp:149)
==14577==
==14577==
==14577== 16 bytes in 1 blocks are definitely lost in loss record 4 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41B1AC: __static_initialization_and_destruction_0(int, int) (MP_index.cpp:18)
==14577== by 0x41B255: _GLOBAL__I__ZN5flopc8MP_index5EmptyE (MP_index.cpp:126)
==14577== by 0x7A1295: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577== by 0x402CF2: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577==
==14577==
==14577== 24 bytes in 1 blocks are indirectly lost in loss record 5 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40FEA1: flopc::Constant::Constant(double) (MP_constant.cpp:287)
==14577== by 0x409427: main (unitTest.cpp:147)
==14577==
==14577==
==14577== 24 bytes in 1 blocks are indirectly lost in loss record 6 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40FFCD: flopc::pos(flopc::Constant const&) (MP_constant.cpp:67)
==14577== by 0x40482F: main (unitTest.cpp:84)
==14577==
==14577==
==14577== 24 bytes in 1 blocks are still reachable in loss record 7 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41AEDE: flopc::MP_index_exp::MP_index_exp(flopc::Constant const&) (MP_index.cpp:120)
==14577== by 0x41B1BD: __static_initialization_and_destruction_0(int, int) (MP_index.cpp:18)
==14577== by 0x41B255: _GLOBAL__I__ZN5flopc8MP_index5EmptyE (MP_index.cpp:126)
==14577== by 0x7A1295: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577== by 0x402CF2: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577==
==14577==
==14577== 24 bytes in 1 blocks are still reachable in loss record 8 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40FEA1: flopc::Constant::Constant(double) (MP_constant.cpp:287)
==14577== by 0x41B19A: __static_initialization_and_destruction_0(int, int) (MP_index.cpp:18)
==14577== by 0x41B255: _GLOBAL__I__ZN5flopc8MP_index5EmptyE (MP_index.cpp:126)
==14577== by 0x7A1295: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577== by 0x402CF2: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577==
==14577==
==14577== 24 bytes in 1 blocks are still reachable in loss record 9 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41B17B: __static_initialization_and_destruction_0(int, int) (MP_index.cpp:17)
==14577== by 0x41B255: _GLOBAL__I__ZN5flopc8MP_index5EmptyE (MP_index.cpp:126)
==14577== by 0x7A1295: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577== by 0x402CF2: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577==
==14577==
==14577== 24 bytes in 1 blocks are still reachable in loss record 10 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41B15F: __static_initialization_and_destruction_0(int, int) (MP_index.cpp:16)
==14577== by 0x41B255: _GLOBAL__I__ZN5flopc8MP_index5EmptyE (MP_index.cpp:126)
==14577== by 0x7A1295: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577== by 0x402CF2: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577==
==14577==
==14577== 32 bytes in 8 blocks are indirectly lost in loss record 11 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x74CC53: CoinPackedMatrix::CoinPackedMatrix() (CoinPackedMatrix.cpp:1813)
==14577== by 0x508B33: ClpModel::ClpModel(ClpModel const&, int) (ClpModel.cpp:654)
==14577== by 0x58FEED: ClpSimplex::ClpSimplex(ClpSimplex const&, int) (ClpSimplex.cpp:1875)
==14577== by 0x4D8020: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2948)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 32 bytes in 2 blocks are indirectly lost in loss record 12 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x6D6816: OsiSolverInterface::setInitialData() (OsiSolverInterface.cpp:998)
==14577== by 0x6D7137: OsiSolverInterface::OsiSolverInterface() (OsiSolverInterface.cpp:987)
==14577== by 0x42664E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:457)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 32 bytes in 1 blocks are indirectly lost in loss record 13 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40DAB5: flopc::operator>(flopc::Constant const&, flopc::Constant const&) (MP_boolean.cpp:186)
==14577== by 0x405924: main (unitTest.cpp:111)
==14577==
==14577==
==14577== 32 bytes in 1 blocks are indirectly lost in loss record 14 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4101F2: flopc::operator-(flopc::Constant const&, flopc::Constant const&) (MP_constant.cpp:156)
==14577== by 0x40481C: main (unitTest.cpp:84)
==14577==
==14577==
==14577== 32 bytes in 1 blocks are indirectly lost in loss record 15 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40E020: flopc::operator>=(flopc::MP_index_exp const&, flopc::MP_index_exp const&) (MP_boolean.cpp:177)
==14577== by 0x404289: main (unitTest.cpp:82)
==14577==
==14577==
==14577== 40 bytes in 1 blocks are indirectly lost in loss record 16 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41B3C7: flopc::operator-(flopc::MP_index&, int const&) (MP_index.cpp:84)
==14577== by 0x404729: main (unitTest.cpp:84)
==14577==
==14577==
==14577== 40 bytes in 1 blocks are still reachable in loss record 17 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x416AFE: flopc::MP_domain::getEmpty() (MP_domain.cpp:50)
==14577== by 0x416B4D: flopc::operator*(flopc::MP_domain const&, flopc::MP_domain const&) (MP_domain.cpp:126)
==14577== by 0x414D08: flopc::MP_data::display(std::string) (MP_data.cpp:104)
==14577== by 0x403908: main (unitTest.cpp:60)
==14577==
==14577==
==14577== 40 bytes in 1 blocks are definitely lost in loss record 18 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x421BC1: __static_initialization_and_destruction_0(int, int) (MP_set.cpp:16)
==14577== by 0x421C37: _GLOBAL__I__ZN5flopc6MP_set5EmptyE (MP_set.cpp:27)
==14577== by 0x7A1295: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577== by 0x402CF2: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577==
==14577==
==14577== 48 bytes in 1 blocks are indirectly lost in loss record 19 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40C71E: flopc::MP_set::such_that(flopc::MP_boolean const&) (MP_set.hpp:99)
==14577== by 0x40593E: main (unitTest.cpp:111)
==14577==
==14577==
==14577== 48 bytes in 1 blocks are still reachable in loss record 20 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x416AE0: flopc::MP_domain::getEmpty() (MP_domain.cpp:50)
==14577== by 0x416B4D: flopc::operator*(flopc::MP_domain const&, flopc::MP_domain const&) (MP_domain.cpp:126)
==14577== by 0x414D08: flopc::MP_data::display(std::string) (MP_data.cpp:104)
==14577== by 0x403908: main (unitTest.cpp:60)
==14577==
==14577==
==14577== 64 bytes in 2 blocks are indirectly lost in loss record 21 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x410062: flopc::Constant::Constant(flopc::MP_index_exp const&) (MP_constant.cpp:284)
==14577== by 0x40DFF9: flopc::operator>=(flopc::MP_index_exp const&, flopc::MP_index_exp const&) (MP_boolean.cpp:177)
==14577== by 0x404289: main (unitTest.cpp:82)
==14577==
==14577==
==14577== 64 bytes in 2 blocks are indirectly lost in loss record 22 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41019E: flopc::operator*(flopc::Constant const&, flopc::Constant const&) (MP_constant.cpp:173)
==14577== by 0x403E2A: main (unitTest.cpp:78)
==14577==
==14577==
==14577== 80 bytes in 2 blocks are indirectly lost in loss record 23 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4166E1: flopc::MP_domain::Forall(flopc::Functor const*) const (MP_domain.cpp:87)
==14577== by 0x4123EF: flopc::Constant_sum::evaluate() const (MP_constant.cpp:240)
==14577== by 0x414A7D: flopc::DataRef::operator()() const (MP_data.cpp:34)
==14577== by 0x4162C9: flopc::MP_domain_set::operator()() const (MP_domain.cpp:113)
==14577== by 0x4162C9: flopc::MP_domain_set::operator()() const (MP_domain.cpp:113)
==14577== by 0x416767: flopc::MP_domain::Forall(flopc::Functor const*) const (MP_domain.cpp:91)
==14577== by 0x4155AB: flopc::DataRef::operator=(flopc::Constant const&) (MP_data.cpp:25)
==14577== by 0x404372: main (unitTest.cpp:82)
==14577==
==14577==
==14577== 136 bytes in 1 blocks are definitely lost in loss record 24 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40D0E2: flopc::MP_data::operator()(flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&) (MP_data.hpp:163)
==14577== by 0x403EC9: main (unitTest.cpp:78)
==14577==
==14577==
==14577== 256 bytes in 1 blocks are still reachable in loss record 25 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41C4A1: __static_initialization_and_destruction_0(int, int) (MP_model.cpp:24)
==14577== by 0x41C4E5: _GLOBAL__I__ZN5flopc8MP_model13default_modelE (MP_model.cpp:510)
==14577== by 0x7A1295: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577== by 0x402CF2: (within /home/svigerske/BuildDir/FlopC++/trunk-debug-AllThirdParty/FlopCpp/test/unitTest)
==14577==
==14577==
==14577== 408 bytes in 17 blocks are indirectly lost in loss record 26 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40FE13: flopc::Constant::Constant(int) (MP_constant.cpp:290)
==14577== by 0x40C8FE: flopc::DataRef::DataRef(flopc::MP_data*, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, int) (MP_data.hpp:36)
==14577== by 0x40D122: flopc::MP_data::operator()(flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&) (MP_data.hpp:163)
==14577== by 0x403D79: main (unitTest.cpp:78)
==14577==
==14577==
==14577== 720 (144 direct, 576 indirect) bytes in 3 blocks are definitely lost in loss record 27 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40C7E4: flopc::MP_set::operator flopc::MP_domain() const (MP_set.hpp:93)
==14577== by 0x403E3D: main (unitTest.cpp:78)
==14577==
==14577==
==14577== 160 bytes in 2 blocks are indirectly lost in loss record 28 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4103C6: flopc::sum(flopc::MP_domain const&, flopc::Constant const&) (MP_constant.cpp:274)
==14577== by 0x403E57: main (unitTest.cpp:78)
==14577==
==14577==
==14577== 200 bytes in 5 blocks are indirectly lost in loss record 29 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x418070: flopc::operator*(flopc::Constant const&, flopc::MP_expression const&) (MP_expression.cpp:165)
==14577== by 0x405A82: main (unitTest.cpp:111)
==14577==
==14577==
==14577== 224 bytes in 28 blocks are indirectly lost in loss record 30 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40FA3E: __gnu_cxx::new_allocator<flopc::MP_boolean>::allocate(unsigned long, void const*) (new_allocator.h:92)
==14577== by 0x40FA6D: std::_Vector_base<flopc::MP_boolean, std::allocator<flopc::MP_boolean> >::_M_allocate(unsigned long) (stl_vector.h:144)
==14577== by 0x40FAB2: std::_Vector_base<flopc::MP_boolean, std::allocator<flopc::MP_boolean> >::_Vector_base(unsigned long, std::allocator<flopc::MP_boolean> const&) (stl_vector.h:117)
==14577== by 0x40FC14: std::vector<flopc::MP_boolean, std::allocator<flopc::MP_boolean> >::vector(std::vector<flopc::MP_boolean, std::allocator<flopc::MP_boolean> > const&) (stl_vector.h:248)
==14577== by 0x40FC98: flopc::MP_domain::MP_domain(flopc::MP_domain const&) (MP_domain.hpp:61)
==14577== by 0x41259C: flopc::Constant_sum::Constant_sum(flopc::MP_domain const&, flopc::Constant const&) (MP_constant.cpp:234)
==14577== by 0x4103DB: flopc::sum(flopc::MP_domain const&, flopc::Constant const&) (MP_constant.cpp:274)
==14577== by 0x4042EA: main (unitTest.cpp:82)
==14577==
==14577==
==14577== 280 bytes in 7 blocks are still reachable in loss record 31 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4216D5: __gnu_cxx::new_allocator<std::_Rb_tree_node<flopc::MP_constraint*> >::allocate(unsigned long, void const*) (new_allocator.h:92)
==14577== by 0x4216F9: std::_Rb_tree<flopc::MP_constraint*, flopc::MP_constraint*, std::_Identity<flopc::MP_constraint*>, std::less<flopc::MP_constraint*>, std::allocator<flopc::MP_constraint*> >::_M_get_node() (stl_tree.h:357)
==14577== by 0x421715: std::_Rb_tree<flopc::MP_constraint*, flopc::MP_constraint*, std::_Identity<flopc::MP_constraint*>, std::less<flopc::MP_constraint*>, std::allocator<flopc::MP_constraint*> >::_M_create_node(flopc::MP_constraint* const&) (stl_tree.h:366)
==14577== by 0x421878: std::_Rb_tree<flopc::MP_constraint*, flopc::MP_constraint*, std::_Identity<flopc::MP_constraint*>, std::less<flopc::MP_constraint*>, std::allocator<flopc::MP_constraint*> >::_M_insert_(std::_Rb_tree_node_base const*, std::_Rb_tree_node_base const*, flopc::MP_constraint* const&) (stl_tree.h:852)
==14577== by 0x4219DD: std::_Rb_tree<flopc::MP_constraint*, flopc::MP_constraint*, std::_Identity<flopc::MP_constraint*>, std::less<flopc::MP_constraint*>, std::allocator<flopc::MP_constraint*> >::_M_insert_unique(flopc::MP_constraint* const&) (stl_tree.h:1148)
==14577== by 0x421B06: std::set<flopc::MP_constraint*, std::less<flopc::MP_constraint*>, std::allocator<flopc::MP_constraint*> >::insert(flopc::MP_constraint* const&) (stl_set.h:381)
==14577== by 0x41F13C: flopc::MP_model::add(flopc::MP_constraint&) (MP_model.cpp:70)
==14577== by 0x413A0E: flopc::MP_constraint::MP_constraint(flopc::MP_set_base const&, flopc::MP_set_base const&, flopc::MP_set_base const&, flopc::MP_set_base const&, flopc::MP_set_base const&) (MP_constraint.cpp:63)
==14577== by 0x4050B0: main (unitTest.cpp:99)
==14577==
==14577==
==14577== 336 bytes in 7 blocks are indirectly lost in loss record 32 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40C7E4: flopc::MP_set::operator flopc::MP_domain() const (MP_set.hpp:93)
==14577== by 0x405A95: main (unitTest.cpp:111)
==14577==
==14577==
==14577== 528 bytes in 6 blocks are indirectly lost in loss record 33 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4183F7: flopc::sum(flopc::MP_domain const&, flopc::MP_expression const&) (MP_expression.cpp:172)
==14577== by 0x405958: main (unitTest.cpp:111)
==14577==
==14577==
==14577== 740 bytes in 22 blocks are indirectly lost in loss record 34 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4CA7620: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (new_allocator.h:92)
==14577== by 0x4CA92ED: std::string::_M_mutate(unsigned long, unsigned long, unsigned long) (basic_string.tcc:454)
==14577== by 0x4CA948B: std::string::_M_replace_safe(unsigned long, unsigned long, char const*, unsigned long) (basic_string.tcc:659)
==14577== by 0x71B6FF: CoinMessageHandler::message(int, CoinMessages const&) (CoinMessageHandler.cpp:529)
==14577== by 0x54FF14: ClpPresolve::presolve(CoinPresolveMatrix*) (ClpPresolve.cpp:693)
==14577== by 0x54D22E: ClpPresolve::gutsOfPresolvedModel(ClpSimplex*, double, bool, int, bool, bool) (ClpPresolve.cpp:1508)
==14577== by 0x549BCC: ClpPresolve::presolvedModel(ClpSimplex&, double, bool, int, bool, bool) (ClpPresolve.cpp:103)
==14577== by 0x5E89C9: ClpSimplex::initialSolve(ClpSolve&) (ClpSolve.cpp:474)
==14577== by 0x4E2C28: OsiClpSolverInterface::initialSolve() (OsiClpSolverInterface.cpp:354)
==14577== by 0x4240DD: OsiCbcSolverInterface::initialSolve() (OsiCbcSolverInterface.cpp:50)
==14577== by 0x41CC82: flopc::MP_model::solve(flopc::MP_model::MP_direction const&) (MP_model.cpp:447)
==14577==
==14577==
==14577== 2,112 bytes in 44 blocks are indirectly lost in loss record 35 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41B4EA: flopc::MP_index::getDomain(flopc::MP_set*) const (MP_index.cpp:98)
==14577== by 0x40A811: flopc::MP_set::operator()(flopc::MP_index_exp const&) const (MP_set.hpp:89)
==14577== by 0x414B9D: flopc::MP_data::display(std::string) (MP_data.cpp:104)
==14577== by 0x403908: main (unitTest.cpp:60)
==14577==
==14577==
==14577== 4,248 (816 direct, 3,432 indirect) bytes in 17 blocks are definitely lost in loss record 36 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x41B4EA: flopc::MP_index::getDomain(flopc::MP_set*) const (MP_index.cpp:98)
==14577== by 0x40A811: flopc::MP_set::operator()(flopc::MP_index_exp const&) const (MP_set.hpp:89)
==14577== by 0x414CF1: flopc::MP_data::display(std::string) (MP_data.cpp:104)
==14577== by 0x403908: main (unitTest.cpp:60)
==14577==
==14577==
==14577== 1,152 (960 direct, 192 indirect) bytes in 24 blocks are definitely lost in loss record 37 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4166E1: flopc::MP_domain::Forall(flopc::Functor const*) const (MP_domain.cpp:87)
==14577== by 0x4123EF: flopc::Constant_sum::evaluate() const (MP_constant.cpp:240)
==14577== by 0x414A7D: flopc::DataRef::operator()() const (MP_data.cpp:34)
==14577== by 0x4162C9: flopc::MP_domain_set::operator()() const (MP_domain.cpp:113)
==14577== by 0x4162C9: flopc::MP_domain_set::operator()() const (MP_domain.cpp:113)
==14577== by 0x416767: flopc::MP_domain::Forall(flopc::Functor const*) const (MP_domain.cpp:91)
==14577== by 0x4155AB: flopc::DataRef::operator=(flopc::Constant const&) (MP_data.cpp:25)
==14577== by 0x404372: main (unitTest.cpp:82)
==14577==
==14577==
==14577== 1,104 (40 direct, 1,064 indirect) bytes in 1 blocks are definitely lost in loss record 38 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40B894: flopc::operator>=(flopc::MP_expression const&, flopc::MP_expression const&) (MP_constraint.hpp:106)
==14577== by 0x405AC9: main (unitTest.cpp:111)
==14577==
==14577==
==14577== 48 bytes in 2 blocks are indirectly lost in loss record 39 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x417F6A: flopc::MP_expression::MP_expression(flopc::Constant const&) (MP_expression.cpp:181)
==14577== by 0x4180CB: flopc::operator-(flopc::Constant const&, flopc::MP_expression const&) (MP_expression.cpp:161)
==14577== by 0x406ADF: main (unitTest.cpp:117)
==14577==
==14577==
==14577== 64 bytes in 4 blocks are indirectly lost in loss record 40 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4EE546: ClpEventHandler::clone() const (ClpEventHandler.cpp:52)
==14577== by 0x5071DA: ClpModel::gutsOfCopy(ClpModel const&, int) (ClpModel.cpp:708)
==14577== by 0x508BAD: ClpModel::ClpModel(ClpModel const&, int) (ClpModel.cpp:656)
==14577== by 0x58FEED: ClpSimplex::ClpSimplex(ClpSimplex const&, int) (ClpSimplex.cpp:1875)
==14577== by 0x4D8020: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2948)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9F2: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4180)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 64 bytes in 4 blocks are indirectly lost in loss record 41 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x6A62F6: OsiAuxInfo::clone() const (OsiAuxInfo.cpp:31)
==14577== by 0x6D61D4: OsiSolverInterface::OsiSolverInterface(OsiSolverInterface const&) (OsiSolverInterface.cpp:1047)
==14577== by 0x4D7E37: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2944)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 64 bytes in 2 blocks are indirectly lost in loss record 42 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x44E98B: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4178)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 80 bytes in 2 blocks are indirectly lost in loss record 43 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4FFBD3: ClpModel::gutsOfLoadModel(int, int, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:254)
==14577== by 0x500760: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:322)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 96 bytes in 2 blocks are indirectly lost in loss record 44 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x477E22: CbcStrategyDefault::clone() const (CbcStrategy.cpp:115)
==14577== by 0x427853: CbcModel::setStrategy(CbcStrategy&) (CbcModel.cpp:11241)
==14577== by 0x426825: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:469)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 96 bytes in 2 blocks are indirectly lost in loss record 45 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4180DD: flopc::operator-(flopc::Constant const&, flopc::MP_expression const&) (MP_expression.cpp:161)
==14577== by 0x406ADF: main (unitTest.cpp:117)
==14577==
==14577==
==14577== 112 bytes in 2 blocks are indirectly lost in loss record 46 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x44E7CB: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4167)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 128 bytes in 4 blocks are indirectly lost in loss record 47 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x590D4B: ClpSimplex::gutsOfCopy(ClpSimplex const&) (ClpSimplex.cpp:2097)
==14577== by 0x590521: ClpSimplex::ClpSimplex(ClpSimplex const&, int) (ClpSimplex.cpp:1893)
==14577== by 0x4D8020: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2948)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 132 bytes in 2 blocks are indirectly lost in loss record 48 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x79F0A5: CoinWarmStartBasis::operator=(CoinWarmStartBasis const&) (CoinWarmStartBasis.cpp:120)
==14577== by 0x4E2CD2: OsiClpSolverInterface::initialSolve() (OsiClpSolverInterface.cpp:360)
==14577== by 0x4240DD: OsiCbcSolverInterface::initialSolve() (OsiCbcSolverInterface.cpp:50)
==14577== by 0x41CC82: flopc::MP_model::solve(flopc::MP_model::MP_direction const&) (MP_model.cpp:447)
==14577== by 0x41EB56: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:214)
==14577== by 0x409672: main (unitTest.cpp:149)
==14577==
==14577==
==14577== 160 bytes in 2 blocks are indirectly lost in loss record 49 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x44E811: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4169)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 1,120 bytes in 10 blocks are indirectly lost in loss record 50 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40D1A6: flopc::MP_variable::operator()(flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&) (MP_variable.hpp:99)
==14577== by 0x405862: main (unitTest.cpp:111)
==14577==
==14577==
==14577== 2,584 bytes in 19 blocks are indirectly lost in loss record 51 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40D0E2: flopc::MP_data::operator()(flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&, flopc::MP_index_exp const&) (MP_data.hpp:163)
==14577== by 0x403D79: main (unitTest.cpp:78)
==14577==
==14577==
==14577== 3,152 (160 direct, 2,992 indirect) bytes in 4 blocks are definitely lost in loss record 52 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x40B8ED: flopc::operator==(flopc::MP_expression const&, flopc::MP_expression const&) (MP_constraint.hpp:139)
==14577== by 0x406B81: main (unitTest.cpp:117)
==14577==
==14577==
==14577== 176 bytes in 2 blocks are indirectly lost in loss record 53 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x53BED6: ClpPackedMatrix::ClpPackedMatrix(CoinPackedMatrix const&) (ClpPackedMatrix.cpp:99)
==14577== by 0x50078E: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:324)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 186 bytes in 2 blocks are indirectly lost in loss record 54 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x569110: ClpSimplex::createStatus() (ClpSimplex.cpp:6713)
==14577== by 0x575F22: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6813)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 240 bytes in 2 blocks are indirectly lost in loss record 55 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x500777: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:324)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 288 bytes in 4 blocks are indirectly lost in loss record 56 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4EDCF0: ClpDualRowSteepest::clone(bool) const (ClpDualRowSteepest.cpp:1018)
==14577== by 0x5910FD: ClpSimplex::gutsOfCopy(ClpSimplex const&) (ClpSimplex.cpp:2140)
==14577== by 0x590521: ClpSimplex::ClpSimplex(ClpSimplex const&, int) (ClpSimplex.cpp:1893)
==14577== by 0x4D8020: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2948)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 48,504 (312 direct, 48,192 indirect) bytes in 1 blocks are definitely lost in loss record 57 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4087B5: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 448 bytes in 4 blocks are indirectly lost in loss record 58 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x560B02: ClpPrimalColumnSteepest::clone(bool) const (ClpPrimalColumnSteepest.cpp:3051)
==14577== by 0x591132: ClpSimplex::gutsOfCopy(ClpSimplex const&) (ClpSimplex.cpp:2141)
==14577== by 0x590521: ClpSimplex::ClpSimplex(ClpSimplex const&, int) (ClpSimplex.cpp:1893)
==14577== by 0x4D8020: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2948)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 2,096 bytes in 2 blocks are indirectly lost in loss record 59 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x42670D: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 3,168 bytes in 2 blocks are indirectly lost in loss record 60 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x44E8AD: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4175)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 3,168 bytes in 2 blocks are indirectly lost in loss record 61 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x6D69DB: OsiSolverInterface::setInitialData() (OsiSolverInterface.cpp:1020)
==14577== by 0x6D7137: OsiSolverInterface::OsiSolverInterface() (OsiSolverInterface.cpp:987)
==14577== by 0x42664E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:457)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 3,456 bytes in 4 blocks are indirectly lost in loss record 62 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4D878E: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 3,464 bytes in 60 blocks are indirectly lost in loss record 63 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x707F23: _ZL11mallocArrayl (CoinIndexedVector.cpp:1558)
==14577== by 0x708128: CoinArrayWithLength::allocate(CoinArrayWithLength const&, int) (CoinIndexedVector.cpp:1690)
==14577== by 0x6FE9EB: CoinFactorization::gutsOfCopy(CoinFactorization const&) (CoinFactorization4.cpp:712)
==14577== by 0x6E6F1C: CoinFactorization::CoinFactorization(CoinFactorization const&) (CoinFactorization1.cpp:30)
==14577== by 0x4F2125: ClpFactorization::ClpFactorization(ClpFactorization const&) (ClpFactorization.cpp:1134)
==14577== by 0x590D63: ClpSimplex::gutsOfCopy(ClpSimplex const&) (ClpSimplex.cpp:2097)
==14577== by 0x590521: ClpSimplex::ClpSimplex(ClpSimplex const&, int) (ClpSimplex.cpp:1893)
==14577== by 0x4D8020: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2948)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577==
==14577==
==14577== 3,584 bytes in 4 blocks are indirectly lost in loss record 64 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4F2110: ClpFactorization::ClpFactorization(ClpFactorization const&) (ClpFactorization.cpp:1134)
==14577== by 0x590D63: ClpSimplex::gutsOfCopy(ClpSimplex const&) (ClpSimplex.cpp:2097)
==14577== by 0x590521: ClpSimplex::ClpSimplex(ClpSimplex const&, int) (ClpSimplex.cpp:1893)
==14577== by 0x4D8020: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2948)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 6,336 bytes in 4 blocks are indirectly lost in loss record 65 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x507132: ClpModel::gutsOfCopy(ClpModel const&, int) (ClpModel.cpp:705)
==14577== by 0x508BAD: ClpModel::ClpModel(ClpModel const&, int) (ClpModel.cpp:656)
==14577== by 0x58FEED: ClpSimplex::ClpSimplex(ClpSimplex const&, int) (ClpSimplex.cpp:1875)
==14577== by 0x4D8020: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2948)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 6,336 bytes in 4 blocks are indirectly lost in loss record 66 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x6D6285: OsiSolverInterface::OsiSolverInterface(OsiSolverInterface const&) (OsiSolverInterface.cpp:1052)
==14577== by 0x4D7E37: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2944)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 6,816 bytes in 4 blocks are indirectly lost in loss record 67 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x4D8000: OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&) (OsiClpSolverInterface.cpp:2948)
==14577== by 0x4D879F: OsiClpSolverInterface::clone(bool) const (OsiClpSolverInterface.cpp:2903)
==14577== by 0x44E9C7: CbcModel::CbcModel(OsiSolverInterface const&) (CbcModel.cpp:4179)
==14577== by 0x42672E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:463)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 46,160 bytes in 16 blocks are indirectly lost in loss record 68 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x45FB24: char* CoinCopyOfArray<char>(char const*, int) (CoinHelperFunctions.hpp:157)
==14577== by 0x71CD2C: CoinMessages::operator=(CoinMessages const&) (CoinMessageHandler.cpp:161)
==14577== by 0x6D6A28: OsiSolverInterface::setInitialData() (OsiSolverInterface.cpp:1021)
==14577== by 0x6D7137: OsiSolverInterface::OsiSolverInterface() (OsiSolverInterface.cpp:987)
==14577== by 0x42664E: OsiCbcSolverInterface::OsiCbcSolverInterface(OsiSolverInterface*, CbcStrategy*) (OsiCbcSolverInterface.cpp:457)
==14577== by 0x4087D2: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 52,726 (312 direct, 52,414 indirect) bytes in 1 blocks are definitely lost in loss record 69 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x408899: main (unitTest.cpp:126)
==14577==
==14577==
==14577== 384 bytes in 2 blocks are indirectly lost in loss record 70 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x6DAAE0: __gnu_cxx::new_allocator<double>::allocate(unsigned long, void const*) (new_allocator.h:92)
==14577== by 0x6DAB0F: std::_Vector_base<double, std::allocator<double> >::_M_allocate(unsigned long) (stl_vector.h:144)
==14577== by 0x71E5D7: std::vector<double, std::allocator<double> >::_M_insert_aux(__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator<double> > >, double const&) (vector.tcc:308)
==14577== by 0x71E753: std::vector<double, std::allocator<double> >::push_back(double const&) (stl_vector.h:694)
==14577== by 0x71B0BA: CoinMessageHandler::operator<<(double) (CoinMessageHandler.cpp:697)
==14577== by 0x5509EC: ClpPresolve::postsolve(bool) (ClpPresolve.cpp:283)
==14577== by 0x5F05EC: ClpSimplex::initialSolve(ClpSolve&) (ClpSolve.cpp:2316)
==14577== by 0x4E2C28: OsiClpSolverInterface::initialSolve() (OsiClpSolverInterface.cpp:354)
==14577== by 0x4240DD: OsiCbcSolverInterface::initialSolve() (OsiCbcSolverInterface.cpp:50)
==14577== by 0x41CC82: flopc::MP_model::solve(flopc::MP_model::MP_direction const&) (MP_model.cpp:447)
==14577== by 0x41EB56: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:214)
==14577==
==14577==
==14577== 476 bytes in 2 blocks are indirectly lost in loss record 71 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x758674: CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&, int, int, bool) (CoinPackedMatrix.cpp:2173)
==14577== by 0x53BEF7: ClpPackedMatrix::ClpPackedMatrix(CoinPackedMatrix const&) (ClpPackedMatrix.cpp:99)
==14577== by 0x50078E: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:324)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 484 bytes in 2 blocks are indirectly lost in loss record 72 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x75869E: CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&, int, int, bool) (CoinPackedMatrix.cpp:2174)
==14577== by 0x53BEF7: ClpPackedMatrix::ClpPackedMatrix(CoinPackedMatrix const&) (ClpPackedMatrix.cpp:99)
==14577== by 0x50078E: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:324)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 512 bytes in 2 blocks are indirectly lost in loss record 73 of 82
==14577== at 0x4A06205: operator new(unsigned long) (vg_replace_malloc.c:167)
==14577== by 0x71D942: __gnu_cxx::new_allocator<long>::allocate(unsigned long, void const*) (new_allocator.h:92)
==14577== by 0x71D971: std::_Vector_base<long, std::allocator<long> >::_M_allocate(unsigned long) (stl_vector.h:144)
==14577== by 0x71DF63: std::vector<long, std::allocator<long> >::_M_insert_aux(__gnu_cxx::__normal_iterator<long*, std::vector<long, std::allocator<long> > >, long const&) (vector.tcc:308)
==14577== by 0x71E0DF: std::vector<long, std::allocator<long> >::push_back(long const&) (stl_vector.h:694)
==14577== by 0x71B221: CoinMessageHandler::operator<<(int) (CoinMessageHandler.cpp:673)
==14577== by 0x5F1066: ClpSimplex::initialSolve(ClpSolve&) (ClpSolve.cpp:2385)
==14577== by 0x4E2C28: OsiClpSolverInterface::initialSolve() (OsiClpSolverInterface.cpp:354)
==14577== by 0x4240DD: OsiCbcSolverInterface::initialSolve() (OsiCbcSolverInterface.cpp:50)
==14577== by 0x41CC82: flopc::MP_model::solve(flopc::MP_model::MP_direction const&) (MP_model.cpp:447)
==14577== by 0x41EB56: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:214)
==14577== by 0x409672: main (unitTest.cpp:149)
==14577==
==14577==
==14577== 536 bytes in 2 blocks are indirectly lost in loss record 74 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x4FFB0B: ClpModel::gutsOfLoadModel(int, int, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:244)
==14577== by 0x500760: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:322)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 536 bytes in 2 blocks are indirectly lost in loss record 75 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x4FFAC9: ClpModel::gutsOfLoadModel(int, int, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:242)
==14577== by 0x500760: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:322)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 952 bytes in 2 blocks are indirectly lost in loss record 76 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x624337: double* CoinCopyOfArray<double>(double const*, int, double) (CoinHelperFunctions.hpp:190)
==14577== by 0x6241C4: ClpLinearObjective::ClpLinearObjective(double const*, int) (ClpLinearObjective.cpp:35)
==14577== by 0x4FFBEB: ClpModel::gutsOfLoadModel(int, int, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:254)
==14577== by 0x500760: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:322)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 952 bytes in 2 blocks are indirectly lost in loss record 77 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x4FFB2C: ClpModel::gutsOfLoadModel(int, int, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:245)
==14577== by 0x500760: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:322)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 952 bytes in 2 blocks are indirectly lost in loss record 78 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x4FFAEA: ClpModel::gutsOfLoadModel(int, int, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:243)
==14577== by 0x500760: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:322)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 952 bytes in 2 blocks are definitely lost in loss record 79 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x41E3BF: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:361)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 1,396 bytes in 2 blocks are indirectly lost in loss record 80 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x7586FA: CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&, int, int, bool) (CoinPackedMatrix.cpp:2177)
==14577== by 0x53BEF7: ClpPackedMatrix::ClpPackedMatrix(CoinPackedMatrix const&) (ClpPackedMatrix.cpp:99)
==14577== by 0x50078E: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:324)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 2,792 bytes in 2 blocks are indirectly lost in loss record 81 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x7586D3: CoinPackedMatrix::CoinPackedMatrix(CoinPackedMatrix const&, int, int, bool) (CoinPackedMatrix.cpp:2176)
==14577== by 0x53BEF7: ClpPackedMatrix::ClpPackedMatrix(CoinPackedMatrix const&) (ClpPackedMatrix.cpp:99)
==14577== by 0x50078E: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:324)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577==
==14577== 2,976 bytes in 8 blocks are indirectly lost in loss record 82 of 82
==14577== at 0x4A05EA5: operator new[](unsigned long) (vg_replace_malloc.c:199)
==14577== by 0x50B923: double* ClpCopyOfArray<double>(double const*, int, double) (ClpParameters.hpp:96)
==14577== by 0x4FFB7D: ClpModel::gutsOfLoadModel(int, int, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:251)
==14577== by 0x500760: ClpModel::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpModel.cpp:322)
==14577== by 0x575F19: ClpSimplex::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*, double const*) (ClpSimplex.cpp:6812)
==14577== by 0x4D9C6F: OsiClpSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiClpSolverInterface.cpp:2561)
==14577== by 0x424CA8: OsiCbcSolverInterface::loadProblem(CoinPackedMatrix const&, double const*, double const*, double const*, double const*, double const*) (OsiCbcSolverInterface.cpp:362)
==14577== by 0x41E754: flopc::MP_model::attach(OsiSolverInterface*) (MP_model.cpp:385)
==14577== by 0x41EB42: flopc::MP_model::minimize(flopc::MP_expression const&) (MP_model.cpp:213)
==14577== by 0x408DA5: main (unitTest.cpp:133)
==14577==
==14577== LEAK SUMMARY:
==14577== definitely lost: 3,888 bytes in 56 blocks.
==14577== indirectly lost: 108,862 bytes in 361 blocks.
==14577== possibly lost: 0 bytes in 0 blocks.
==14577== still reachable: 728 bytes in 15 blocks.
==14577== suppressed: 0 bytes in 0 blocks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.