coin-or / os Goto Github PK
View Code? Open in Web Editor NEWOptimization Services
License: Other
Optimization Services
License: Other
For the OS project README file see the README file in the OS subdirectory. For the other COIN-OR projects that are checked out with this project, see the README file in the appropriate subdirectory.
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:24:19
Assignee: JunMa
Version: 2.0
Keywords: Cone Programming
Finalization of Cone Programming
Issue created by migration from Trac.
Original creator: @h-i-gassmann
Original creation time: 2010-09-22 19:17:43
Assignee: somebody
Version: 2.0
CC: junma kmartin
Keywords: OSgL schema, implementation, constitution
SparseVector in OSDataStructures has
int* indexes;
double* values;
For consistence with OSgL it should be
IntVector* idx;
DoubleVector* nonz;
Kipp Comment -- I think it would be a mistake to have to define an object for each element in an array. For example,
IntVector* idx;
seems far more cumbersome than
int* indexes;
Having a constructor and destructor called for each nonzero could take a lot time for large problems.
There is also a discrepancy between the implementation of the int and double vectors in C++ and in the OSgL schema.
(changed by kmartin at 2010-09-22 20:01:17)
Issue created by migration from Trac.
Original creator: @andrea5w
Original creation time: 2008-07-28 03:24:02
Assignee: somebody
Version:
Running make test
on AIX, I get:
START UNIT TEST
Try to read a sample file
The file is: ../data/osilFiles/parincLinearByRow.osil
Done reading the test file
Coin0001I At line 1 NAME ParInc. From Anderson, Sweeney, and Williams
Coin0001I At line 10 ROWS
Coin0001I At line 16 COLUMNS
Coin0001I At line 23 RHS
Coin0001I At line 28 BOUNDS
Coin0001I At line 29 ENDATA
Coin0002I Problem ParInc. has 4 rows, 2 columns and 8 elements
MAXIMUM DIFF = 0
MAXIMUM DIFF INDEX = -1
create a new IPOPT Solver for OSiL string solution
IPOPT Solver created for OSiL string solution
call the IPOPT Solver
Parsing took (seconds): 0
Call Ipopt Initialize
Finished Ipopt Initialize
Call Ipopt Optimize
******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear optimization.
Ipopt is released as open source code under the Common Public License (CPL).
For more information visit http://projects.coin-or.org/Ipopt
******************************************************************************
NOTE: You are using Ipopt by default with the MUMPS linear solver.
Other linear solvers might be more efficient (see Ipopt documentation).
number variables !!!!!!!!!!!!!!!!!!!!!!!!!!!49
number constraints !!!!!!!!!!!!!!!!!!!!!!!!!!!15
nnz_jac_g !!!!!!!!!!!!!!!!!!!!!!!!!!!43
create the function and stop recording
range space dimension = 1
Computing Sparse Hessian
nnz_h_lag !!!!!!!!!!!!!!!!!!!!!!!!!!!123
Segmentation fault
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:35:03
Assignee: kmartin
Version: 2.0
Keywords: OS examples
More reports by Kipp on the status of OS examples. Kipp will get it working and adopt some of Gus' suggestions. Kipp will send an email.
OS examples has been transformed into ApplicationTemplates. Thus this ticket is no longer relevant.
(changed by @h-i-gassmann at 2011-03-03 20:38:47)
Issue created by migration from Trac.
Original creator: @svigerske
Original creation time: 2011-12-29 12:35:00
Hi,
with the current trunk, I get
TEST 11: Cplex solver on p0033.osil
call the CPLEX Solver for p0033
CPX0000 Tried aggregator 2 times.
CPX0000 MIP Presolve eliminated 1 rows and 3 columns.
CPX0000 MIP Presolve modified 35 coefficients.
CPX0000 Aggregator did 2 substitutions.
CPX0000 Reduced MIP has 13 rows, 28 columns, and 91 nonzeros.
CPX0000 Reduced MIP has 28 binaries, 0 generals, 0 SOSs, and 0 indicators.
CPX0000 Probing time = 0.00 sec.
CPX0000 Tried aggregator 1 time.
CPX0000 Presolve time = 0.00 sec.
CPX0000 Probing time = 0.00 sec.
CPX0000 Clique table members: 4.
CPX0000 MIP emphasis: balance optimality and feasibility.
CPX0000 MIP search method: dynamic search.
CPX0000 Parallel mode: deterministic, using up to 4 threads.
CPX0000 Root relaxation solution time = 0.00 sec.
CPX0000
CPX0000 Nodes Cuts/
CPX0000 Node Left Objective IInf Best Integer Best Bound ItCnt Gap
CPX0000
CPX0000 0 0 2838.5467 6 2838.5467 16
CPX0000 * 0+ 0 3095.0000 2838.5467 16 8.29%
CPX0000 0 0 2924.7588 7 3095.0000 Cuts: 6 22 5.50%
CPX0000 0 0 2941.4000 5 3095.0000 Cuts: 15 29 4.96%
CPX0000 0 0 2946.9927 13 3095.0000 Cuts: 5 45 4.78%
CPX0000 0 0 2949.0914 15 3095.0000 Cuts: 8 50 4.71%
CPX0000 0 0 2955.7720 16 3095.0000 Cuts: 3 52 4.50%
CPX0000 0 0 2962.7110 18 3095.0000 Cuts: 4 56 4.27%
CPX0000 0 0 2974.2469 17 3095.0000 Cuts: 5 61 3.90%
CPX0000 0 0 2985.7986 18 3095.0000 Cuts: 6 66 3.53%
CPX0000 0 0 3013.0000 17 3095.0000 ZeroHalf: 4 70 2.65%
CPX0000 0 0 3038.5000 17 3095.0000 ZeroHalf: 5 74 1.83%
CPX0000 0 0 3045.0588 17 3095.0000 Cuts: 2 76 1.61%
CPX0000 * 0+ 0 3089.0000 3045.0588 76 1.42%
CPX0000
CPX0000 Repeating presolve.
CPX0000 Tried aggregator 2 times.
CPX0000 MIP Presolve eliminated 1 rows and 8 columns.
CPX0000 MIP Presolve modified 17 coefficients.
CPX0000 Aggregator did 1 substitutions.
CPX0000 Reduced MIP has 11 rows, 19 columns, and 58 nonzeros.
CPX0000 Reduced MIP has 19 binaries, 0 generals, 0 SOSs, and 0 indicators.
CPX0000 Probing time = 0.00 sec.
CPX0000 Tried aggregator 1 time.
CPX0000 Represolve time = 0.00 sec.
CPX0000 Probing time = 0.00 sec.
CPX0000 Clique table members: 4.
CPX0000 MIP emphasis: balance optimality and feasibility.
CPX0000 MIP search method: dynamic search.
CPX0000 Parallel mode: deterministic, using up to 4 threads.
CPX0000 Root relaxation solution time = 0.00 sec.
CPX0000
CPX0000 Nodes Cuts/
CPX0000 Node Left Objective IInf Best Integer Best Bound ItCnt Gap
CPX0000
CPX0000 * 0+ 0 3089.0000 3045.0588 98 1.42%
CPX0000 0 0 3045.0588 13 3089.0000 3045.0588 98 1.42%
CPX0000 0 2 3045.0588 13 3089.0000 3045.0588 98 1.42%
CPX0000 Elapsed real time =
CPX0000 Elapsed real time CPX0000 0.02 sec. (tree size = 0.01 MB
CPX0000 Elapsed real time CPX0000 0.02 sec. (tree size = 0.01 MCPX0000 , solutions = 2
CPX0000
CPX0000 GUB cover cuts applied: 2
CPX0000 Cover cuts applied: 5
CPX0000 Zero-half cuts applied: 4
CPX0000 Gomory fractional cuts applied: 1
CPX0000
CPX0000 Root node processing (before b&c):
CPX0000 Real time = 0.02
CPX0000 Parallel b&c, 4 threads:
CPX0000 Real time = 0.00
CPX0000 Sync time (average) = 0.00
CPX0000 Wait time (average) = 0.00
CPX0000 -------
CPX0000 Total (root+branch&cut) = 0.02 sec.
CPX0000 CPLEX Error 1262: No basis exists.
### ERROR: OsiCpxSolverInterface::getBasisStatus(): Unable to get base
It seems as if someone requests a basis after a MIP solve.
Stefan
Issue created by migration from Trac.
Original creator: asneeqn
Original creation time: 2010-04-28 07:33:05
Assignee: somebody
Version:
Assigns jobs name with '+' due to timezone (east to UTC), then fails due to that '+' sign.
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:30:15
Assignee: JunMa
Version: 2.0
Keywords: numberOfxxx, LinearConstraintCoefficients
This is a 3.0 issue. Let's put it as the lowest priority.
Issue created by migration from Trac.
Original creator: kmartin
Original creation time: 2011-03-27 07:59:20
Version:
Modify the OSCoinSolver to use Clp when given a quadratic objective function.
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:27:28
Assignee: JunMa
Version: 2.0
Keywords: SOS
We need to go through the schema at least once.
Then we will start to talk about implementation.
Jun will start to take a look at it and generate the some issues/questions and we will complete it through exchange emails.
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:33:26
Assignee: JunMa
Version: 2.0
Keywords: OSConstituion, wikipage.
*Jun Ma will start creating the wikipage.
Issue created by migration from Trac.
Original creator: kmartin
Original creation time: 2010-09-22 20:04:26
Assignee: kmartin
Version:
CC: junma @h-i-gassmann
Kipp needs to prepare a 32 bit Windows version of OS Release 2.2.0 for INFORMS.
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-20 04:10:23
Assignee: @h-i-gassmann
Version: 2.0
Keywords: 64 bit windows
Gus will look into the the windows 64 platform and might ask Lou or related people more about windows 64.
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-20 06:28:57
Assignee: kmartin
Version: 2.0
Keywords: memory, osresult, solver
The OSResult object -- What do we do with it when we call solve more than once.
Issue created by migration from Trac.
Original creator: @svigerske
Original creation time: 2009-01-16 14:54:40
Assignee: somebody
Version:
Hi,
if I call OSInstance::calculateHessian(double*, int rowidx, bool is_new)
without having called OSInstance::getLagrangianHessianSparsityPattern()
before, then this gives me a seg.fault at OSInstance.cpp:3670
(method OSInstance::getSecondOrderResults()
), because m_vbLagHessNonz was not initialized before.
Thus, calling getLagrangianHessianSparsityPattern()
helps, but I do not see why this should be required when I want only the hessian of a particular row.
This is OS/trunk rev. 2389.
Best,
Stefan
Issue created by migration from Trac.
Original creator: stegger
Original creation time: 2012-02-06 17:25:45
Version:
As discussed in the mailing list I would like to propose the opportunity to enclose file names in double quotes. This could avoid some troubles if a user has blanks in an absolute path.
Thanks
Mike
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-20 04:13:15
Assignee: JunMa
Version: 2.0
Keywords: modification schema
Need to start think about how OS Modification needs to be designed in OS Option, Result, Instance at the schema level
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:26:31
Assignee: JunMa
Version: 2.0
Keywords: OSaL,OSRegistry,analysis
OSaL/OSRegistry design
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:18:33
Assignee: @h-i-gassmann
Version: 2.0
Keywords: OSgL, OSGeneral, Data Structure
Moving of common data structure to OSgL, especially some of those from OSoL/OSrL; at least need to go through thoroughly again both in schema and in the code.
Gus will take a general look, go through osgl, clean up osgl, and validate that the related schemas (e.g. osil, osol, osrl) are still correct.
OSDataSturcture will go away and will be in OSGeneral
(changed by JunMa at 2010-09-21 04:19:48)
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-12-08 07:17:03
Assignee: JunMa
Version:
CC: [email protected] @h-i-gassmann
This trac ticket keeps track of some of the general issues in OSgL/OSoL/OSrL.
OSgL: missing/inaccurate annotations
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-20 05:20:22
Assignee: kmartin
Version: 2.0
Keywords: Dip, modification
This task is to keep track of various issues related with and derived from Dip. those related with modifications.
For now, Kipp is still working on Dip and will experiment and change some internal OS implementation (getting OS pointers, e.g. obj coef into the solver pointer). We need to think about OSModification not just on OSiL, but also OSrL./OSoL and it might be a good idea to work on OSrL first, as it is relatively easier.
In the short run, we will wait for Dip solver to get more stable till we merge in the Dip interface.
Issue created by migration from Trac.
Original creator: @ycollet
Original creation time: 2009-03-24 11:38:15
Assignee: somebody
Version:
There are 2 classes which allow to read a "classical" formats:
It should be interesting to have a converter from sif to osil:
YC
Issue created by migration from Trac.
Original creator: @h-i-gassmann
Original creation time: 2011-03-04 14:14:16
Version:
in trunk version 4072, make distclean fails in DyLP:
make[2]: Entering directory `/home/gassmann/datafiles/research/OS/OS-trunk-work/vpath-debug/DyLP'
rm -rf .libs _libs
/bin/bash: ./build_dylpdoc: /bin/csh: bad interpreter: No such file or directory
make[3]: Entering directory `/home/gassmann/datafiles/research/OS/OS-trunk-work/vpath-debug/DyLP/doc'
make[3]: *** No targets specified and no makefile found.Stop.
make[3]: Leaving directory `/home/gassmann/datafiles/research/OS/OS-trunk-work/vpath-debug/DyLP/doc'
make[2]: *** [mostlyclean-local] Error 2
make[2]: Leaving directory `/home/gassmann/datafiles/research/OS/OS-trunk-work/vpath-debug/DyLP'
make[1]: *** [distclean-recursive] Error 1
make[1]: Leaving directory `/home/gassmann/datafiles/research/OS/OS-trunk-work/vpath-debug/DyLP'
make: *** [distclean-recursive] Error 1
(changed by @h-i-gassmann at 2011-03-04 14:15:30)
Issue created by migration from Trac.
Original creator: asneeqn
Original creation time: 2010-05-12 14:52:05
Assignee: somebody
Version:
(please see the patch attached, hope that explains better)
Issue created by migration from Trac.
Original creator: kmartin
Original creation time: 2010-09-22 20:06:48
Assignee: @h-i-gassmann
Version:
CC: junma @h-i-gassmann
Implement semi-integer and semi-continuous variables in C++ code, in particular in the OSiL parser (reader) and writer. Also in the OSGeneral instance.
Issue created by migration from Trac.
Original creator: walter
Original creation time: 2011-12-29 12:35:19
Version:
In OSnl2osil's constructor has the following:
stub = &nlfilename[ 0];
nl = jac0dim(stub, (fint)strlen(stub));
Where nlfilename is passed by value and so it will be destroyed on exit from the c'tor (leaving stub dangling.)
One solution is to remove the unused member and simplify the c'tor to:
nl = jac0dim(nlfilename.c_str(), (fint)nlfilename.length());
Issue created by migration from Trac.
Original creator: kmartin
Original creation time: 2010-10-06 22:13:33
Assignee: kmartin
Version:
The OSResult methods for getting basic variable information is not implemented
Issue created by migration from Trac.
Original creator: @andrea5w
Original creation time: 2008-07-27 22:22:21
Assignee: somebody
Version:
Hi,
I ran the configure script on AIX, and I get the error message:
tail: `-4' option is obsolete; use `-n 4'
Try `tail --help' for more information.
svn: Write error: Broken pipe
The issue is that "tail -4
" in the line
svn info | tail -4 > $ac_default_prefix/src/version.txt
should be replaced by "tail -n 4
"
Issue created by migration from Trac.
Original creator: @svigerske
Original creation time: 2009-11-02 17:41:03
Assignee: somebody
Version:
Hi,
OS seem to enjoy writing to standard output.
It would be nice to have a way to register an output handler so that a user can decide where to send the OS output to.
Stefan
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:08:46
Assignee: kmartin
Version: 2.0
CC: junma @h-i-gassmann
Keywords: Dip, interface, driver
In the short run, will wait for Dip solver to get more stable till we merge in the Dip interface.
This is complete and now implemented in osDip in ApplicationTemplates
(changed by kmartin at 2010-09-22 20:08:23)
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:22:12
Assignee: JunMa
Version:
Keywords: matrix,
Finalization on Matrices, mainly linear matrix and expression. There could be still some extra in general and constant matrices.
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-20 04:05:48
Assignee: kmartin
Version: 2.0
CC: junma @h-i-gassmann
Keywords: 64 build linux
64 bit building Linux
Gus will try the 64 bit Linux on his platform. Kipp may get 4/5 builds for OS 2.2.0 version, likely before INFORMS.
(changed by kmartin at 2010-09-22 19:59:44)
Issue created by migration from Trac.
Original creator: @svigerske
Original creation time: 2009-11-02 17:22:55
Assignee: somebody
Version:
Hi,
while for, e.g., the OS interface to Cbc, the dual values for the variable bound constraints are given under the name "reduced costs" in OtherVariableResults, for Ipopt they are called "Multiplier on the Variable Lower Bound" und "Multiplier on the Variable Upper Bound".
This makes it difficult to write a universal interface for OS.
You could easy compute reduced cost from the z_L and z_U values given by Ipopt by using z_L if z_L is not minus infinity, and by using -z_U if z_U is not plus infinity.
Stefan
Issue created by migration from Trac.
Original creator: @svigerske
Original creation time: 2009-11-02 17:19:07
Assignee: somebody
Version:
Hi,
the sign of the dual values returned from the OS interface to Ipopt is flipped compared to those from Cbc, for example.
Note that the point lambda given in finalize_solution need to be negated.
I used OS/stable/2.0
Stefan
Issue created by migration from Trac.
Original creator: @andrea5w
Original creation time: 2007-08-09 14:30:26
Assignee: somebody
Version:
With CoinAll (trunk), using all third party projects (including Glpk), I configure with
configure --enable-debug --enable-static --disable-shared -C COIN_SKIP_PROJECTS=Blis
Then I get the following error:
g++ -DHAVE_CONFIG_H -I. -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSModelInterfaces -I../../inc -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSUtils -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/CoinUtils/src -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/CoinUtils/inc -I/home/andreasw/COIN-svn/OBJgcc-debug-shared/CoinAll/branches/all-trunk/OS/../CoinUtils/inc -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Cbc/src -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Cbc/inc -I/home/andreasw/COIN-svn/OBJgcc-debug-shared/CoinAll/branches/all-trunk/OS/../Cbc/inc -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Clp/src -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Clp/inc -I/home/andreasw/COIN-svn/OBJgcc-debug-shared/CoinAll/branches/all-trunk/OS/../Clp/inc -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Osi/src -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Osi/inc -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Osi/src/OsiCbc -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Osi/src/OsiClp -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/cppad/.. -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/cppad/.. -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSAgent -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSCommonInterfaces -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSSolverInterfaces -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSUtils -I/home/andreasw/COIN-svn/OBJgcc-debug-shared/CoinAll/branches/all-trunk/ThirdParty/ASL -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/ThirdParty/ASL/solvers -I/home/andreasw/COIN-svn/OBJgcc-debug-shared/CoinAll/branches/all-trunk/OS/../DyLP/inc -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/DyLP/src/Dylp -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/DyLP/src/DylpStdLib -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Osi/src/OsiDylp -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/SYMPHONY/include -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Osi/src/OsiSym -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Vol/include -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Vol/src -I/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Osi/src/OsiVol -g -pipe -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -MT OSMatlab.lo -MD -MP -MF .deps/OSMatlab.Tpo -c /home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSModelInterfaces/OSMatlab.cpp -o OSMatlab.o
In file included from /home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSModelInterfaces/OSMatlab.cpp:23:
/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSSolverInterfaces/CoinSolver.h:34:38: error: OsiGlpkSolverInterface.hpp: No such file or directory
In file included from /home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Osi/src/OsiDylp/OsiDylpSolverInterface.hpp:23,
from /home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSSolverInterfaces/CoinSolver.h:38,
from /home/andreasw/COIN-svn/CoinAll/branches/all-trunk/OS/src/OSModelInterfaces/OSMatlab.cpp:23:
/home/andreasw/COIN-svn/CoinAll/branches/all-trunk/Osi/src/OsiConfig.h:23:24: error: config_osi.h: No such file or directory
Issue created by migration from Trac.
Original creator: @jpfasano
Original creation time: 2007-09-26 17:42:06
Assignee: somebody
Version:
The following error occurs when attempting to checking out https://projects.coin-or.org/svn/OS
External: D:\COIN\Coin-OS-All\stable\0.80\CppAD
Error: URL 'https://projects.coin-or.org/svn/CppAD/trunk/CppAD' doesn't exist
I think the external is wrong.
Instead of
https://projects.coin-or.org/svn/CppAD/trunk/CppAD
I think it should be
Issue created by migration from Trac.
Original creator: @andrea5w
Original creation time: 2007-08-10 16:53:44
Assignee: somebody
Version:
I'm trying to compile on AIX (IBM's xlC compiler).
The first set of problems comes in because CppAD is using the identifiers "isfinite" and "isnan", which on AIX is the name of preprocessor macros, defined in /usr/include/math.h. I got around this problem buy renaming "isfinite" and "isnan" in CppAD's near_equal.hpp and nan.hpp. But maybe the issue is related that you use <math.h> in C++ code, whereas the C++ standard says you should use . In Ipopt, I check for each C header if the C++ version is there, and if not, if the C version is there, and include the files accordingly. There is macro for testing in coin.m4. In Ipopt's configure.ac I use:
AC_COIN_CHECK_CXX_CHEADER(math)
and then the source code has:
#ifdef HAVE_CMATH
# include <cmath>
#else
# ifdef HAVE_MATH_H
# include <math.h>
# else
# error "don't have header file for math"
# endif
#endif
Once I'm able to get through that point, I get tons of error messages like the following:
"/u/andreasw/home4/COIN-svn/CoinAll/branches/all-trunk/cppad/../cppad/local/std_math_unary.hpp", line 322.9: 1540-0215 (S) The wrong number of arguments have been specified for "CppAD::AD<double>::cos() const".
"/u/andreasw/home4/COIN-svn/CoinAll/branches/all-trunk/cppad/../cppad/local/std_math_unary.hpp", line 322.9: 1540-0700 (I) The previous message was produced while processing "CppAD::AD<double>::cos() const".
"/u/andreasw/home4/COIN-svn/CoinAll/branches/all-trunk/cppad/../cppad/local/std_math_unary.hpp", line 322.9: 1540-0700 (I) The previous message was produced while processing "CppAD::cos<double>(const AD<double> &)".
"../../../../../../../CoinAll/branches/all-trunk/OS/src/OSCommonInterfaces/OSnLNode.cpp", line 1157.23: 1540-0700 (I) The previous message was produced while processing "OSnLNodeCos::constructCppADTape(std::map<int,int,std::less<int>,std::allocator<std::pair<const int,int> > > *, CppAD::vector<CppAD::AD<double> > *)".
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:15:19
Assignee: @h-i-gassmann
Version: 2.0
CC: junma @h-i-gassmann
Keywords: semicontinuou,semiinteger, OSgL , variable
implement semicontinuous and semiinteger variable types in the OSgL code and documentation of definition in OSgL and user manual.
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-17 17:25:14
Assignee: somebody
Version:
test
Issue created by migration from Trac.
Original creator: awasielak
Original creation time: 2009-02-11 05:26:19
Assignee: somebody
Version:
Here is a patch to fix this:
Index: OS/Makefile.in
===================================================================
--- OS/Makefile.in (revision 2423)
+++ OS/Makefile.in (working copy)
`@``@` -902,10 +902,10 `@``@`
make
install-exec-local: install-doc
- $(install_sh_DATA) $(addlibsfile) $(addlibsdir)/$(addlibsfile)
+ $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile)
uninstall-local: uninstall-doc
- rm -f $(addlibsdir)/$(addlibsfile)
+ rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)
install-doc: $(DocFiles)
test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)"
Index: OS/Makefile.am
===================================================================
--- OS/Makefile.am (revision 2423)
+++ OS/Makefile.am (working copy)
`@``@` -73,10 +73,10 `@``@`
addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)
install-exec-local: install-doc
- $(install_sh_DATA) $(addlibsfile) $(addlibsdir)/$(addlibsfile)
+ $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile)
uninstall-local: uninstall-doc
- rm -f $(addlibsdir)/$(addlibsfile)
+ rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)
Issue created by migration from Trac.
Original creator: walter
Original creation time: 2011-12-29 12:35:16
The OSInstance class contains pointers and the automatic copy and assignment operators will only perform a shallow copy.
It looks like maybe a pkgsource tarball was uploaded to http://www.coin-or.org/download/source/OS/OS-2.10.1.tgz instead of a full-with-deps tarball? cc @tkralphs
Issue created by migration from Trac.
Original creator: shoibalc
Original creation time: 2010-01-05 07:37:24
Assignee: somebody
Version:
I have OS 2.0 installed on a linux machine (Ubuntu 9.10). I also have OS-server-1.0.0 installed (i.e., Apache Tomcat 5.5.23 using Sun JDK 1.6.17).
It fail the simple test:
./-serviceLocation http://127.0.0.1:8080/os/OSSolverService.jws
-serviceMethod solve -osil parincLinear.osil
the .osrl file returns
A modification of the oSRemoteTest (12.8 of user manual) also gives a similar error. the job is submitter but the server does not return a solution when the process is finished.
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:25:18
Assignee: JunMa
Version: 2.0
Keywords: bi-level programming
discuss bi-level programming
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:31:46
Assignee: JunMa
Version: 2.0
Keywords: category
This also has much to do with the Dip implementation.
https://projects.coin-or.org/OS/browser/trunk/OS/data/osolFiles/spl1.osol
Jun Ma study it and generate some thoughts.
How generic or specific (initialCol) do we want these "other" options to be?
Gus suggested that this is also similar to SP and the same kind mechanism at heart and there could be synergies.
Issue created by migration from Trac.
Original creator: @svigerske
Original creation time: 2009-11-02 17:35:33
Assignee: somebody
Version:
Hi,
when I specify an instance without variables, then a call to osinstance->getNumberOfBinaryVariables() fails.
I called osinstance->setVariableNumber(0), but when I request something like the number of binary variables, then it throws an error "no variables defined". Shouldn't it just return 0?
When I skip this and try to solve my instance with Clp, then I get the same error thrown from the call to solve().
I had expected that such an instance is easy to solve, since it just consists of evaluating objective and constraints and deciding for feasibility.
Stefan
Issue created by migration from Trac.
Original creator: awasielak
Original creation time: 2009-02-11 05:28:03
Assignee: somebody
Version:
Coin-OR OS version: SVN trunk
Here is a patch to fix this:
Index: OS/Makefile.in
===================================================================
--- OS/Makefile.in (revision 2423)
+++ OS/Makefile.in (working copy)
`@``@` -902,10 +902,10 `@``@`
make
install-exec-local: install-doc
- $(install_sh_DATA) $(addlibsfile) $(addlibsdir)/$(addlibsfile)
+ $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile)
uninstall-local: uninstall-doc
- rm -f $(addlibsdir)/$(addlibsfile)
+ rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)
install-doc: $(DocFiles)
test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)"
Index: OS/Makefile.am
===================================================================
--- OS/Makefile.am (revision 2423)
+++ OS/Makefile.am (working copy)
`@``@` -73,10 +73,10 `@``@`
addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)
install-exec-local: install-doc
- $(install_sh_DATA) $(addlibsfile) $(addlibsdir)/$(addlibsfile)
+ $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile)
uninstall-local: uninstall-doc
- rm -f $(addlibsdir)/$(addlibsfile)
+ rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)
Issue created by migration from Trac.
Original creator: JunMa
Original creation time: 2010-09-21 04:23:43
Assignee: JunMa
Version: 2.0
Keywords: matrix programming
Finalization of Matrix Programming
Issue created by migration from Trac.
Original creator: kmartin
Original creation time: 2010-09-22 20:05:19
Assignee: kmartin
Version:
CC: junma @h-i-gassmann
Kipp needs to prepare a 32 bit Linux version of OS Release 2.2.0 for INFORMS.
Issue created by migration from Trac.
Original creator: @h-i-gassmann
Original creation time: 2010-09-20 01:25:59
Assignee: somebody
Version:
When Blas, Lapack or HSL/Mumps not present, Ipopt does not configure, and hence OS does not, either. It would be nice if OS could in this case build without Ipopt, rather than stop with an error.
Issue created by migration from Trac.
Original creator: kmartin
Original creation time: 2010-09-22 20:03:35
Assignee: kmartin
Version:
CC: junma @h-i-gassmann
Kipp needs to prepare a 64 bit Mac OS X version of OS Release 2.2.0 for INFORMS.
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.