Commit Graph

1739 Commits

Author SHA1 Message Date
Laurent Perron
43c6df459a further reuse of FzConstraint::RemoveArg 2015-12-28 22:08:51 +01:00
Laurent Perron
4af8b30af5 add FzConstraint::RemoveArg helper 2015-12-28 18:33:58 +01:00
Laurent Perron
4c8f61d112 add missing presolve rule found by simple_sat.mzn official example 2015-12-28 17:08:28 +01:00
Laurent Perron
b05221fa3f change the logic of active variables: all variables are active, introduced is only useful for name precedences; fix issue #135 2015-12-28 14:17:09 +01:00
Laurent Perron
baa2866d31 fix issue #136 2015-12-28 11:59:04 +01:00
Laurent Perron
cf50024b43 fix typo in presolve: issue 134 2015-12-27 09:39:30 +01:00
Laurent Perron
404580ff0e fix issue132 2015-12-18 16:43:52 +01:00
Laurent Perron
1e8b93ced8 fix issue128 2015-12-18 09:37:29 +01:00
Laurent Perron
4c74290d04 missing swig rename in CP scheduling 2015-12-16 19:51:09 +01:00
Laurent Perron
ae77b87cc2 fix cp iterators and python 3 2015-12-11 14:29:37 +01:00
Laurent Perron
d76a80feb5 fix second failure of issue 115b 2015-12-11 13:52:00 +01:00
Laurent Perron
885f78fa34 polish python3 support 2015-12-10 01:34:07 -08:00
Laurent Perron
f0e6701d32 finish support for python3 2015-12-09 22:25:26 +01:00
Laurent Perron
eb2179b8a1 remove python dependencies on apputils, gflags 2015-12-09 14:49:52 +01:00
Laurent Perron
d7593cd951 remove log 2015-12-07 13:32:00 +01:00
Laurent Perron
dfca07300c custom decision in python + test 2015-12-07 13:27:18 +01:00
Laurent Perron
26005167ad remove python wrapper code for DecisionBuilder, use directors instead 2015-12-07 13:05:16 +01:00
Laurent Perron
77f00ff798 added swig rule to import vector<vector<NodeIndex>> in python 2015-12-03 08:57:30 +01:00
Laurent Perron
90976aa232 fix issue 115 2015-12-01 11:12:15 +01:00
Laurent Perron
bdb94d759c fix java swig 2015-11-20 18:59:44 +01:00
Laurent Perron
3e78e18cd5 fix ls examples in python/java/C# 2015-11-20 18:43:11 +01:00
Laurent Perron
2151430f88 fix msvc 2013 compilation 2015-11-20 12:11:41 +01:00
Laurent Perron
fcc04f0be5 fix python 2015-11-20 11:40:39 +01:00
Laurent Perron
b412d19805 change LNS protocol, port examples; bump nuspec version to 2.1.xxxx; various improvements to the solvers 2015-11-20 11:32:37 +01:00
Laurent Perron
0534021274 fix java wrapping of CP functions 2015-11-18 16:45:30 +01:00
Laurent Perron
fb96c8ca21 fix routing.swig include/import: revert previous change, to investigate 2015-11-11 10:37:24 +01:00
Laurent Perron
141771051f fix 2015-11-06 11:11:38 +01:00
Laurent Perron
289e34b63b fix msvc compilation 2015-11-06 08:18:55 +01:00
Laurent Perron
60f213dc19 missing file 2015-11-02 17:34:09 +01:00
Laurent Perron
c7077e9fe5 continue rewriting swig layer, better code to expose XToY methods in java/c# 2015-11-02 15:27:08 +01:00
lperron
fb1c3455e1 Merge pull request #109 from avinassh/patch-1
Fix a typo
2015-11-02 09:54:32 +01:00
TheCoolRob
d107e82301 Revised simpled doesn't build under VS2013 without a reference to <functional>
sat_constraint method stubs didn't exist. Not a compilable set of code. Looked like a renaming issue.
2015-10-31 18:39:31 +02:00
avinassh
d25d7b7c57 Fix a typo 2015-10-27 23:56:19 +05:30
Laurent Perron
76a05db41b fix warning on sat on non linux machines 2015-10-23 14:00:54 +02:00
Laurent Perron
ff606941b0 lots of improvements:
- improve bop and sat performance
  - improve precision (tolerance) in glop
  - cp: improve performance of the element constraint (normal, and increasing)
  - cp: remove Action class, replace with functions, add API to replace demons by functions
2015-10-23 13:45:43 +02:00
Laurent Perron
00081fdb05 fix issue #44 (wrong url in comment) 2015-10-21 15:12:26 +02:00
Laurent Perron
aba0d0e61d fix MPSolver::SuppressOutput 2015-10-16 13:13:01 +02:00
lperron
1934bfbdfc Merge pull request #104 from TheCoolRob/bitset_VS_fix
Update bitset.h
2015-10-13 09:05:26 -07:00
TheCoolRob
8966baa53d Update bitset.h
Laurent's suggestion is (as expected) nicer to look at.
2015-10-13 17:03:37 +02:00
TheCoolRob
9d5d74e558 Update bitset.h
The visual studio compiler throws an error when you apply a sign to an unsigned int. I think that is is the equivalent functionality that will work for both VS and gcc.
2015-10-13 12:24:38 +02:00
Sebastian Kosch
d7ffee0dc1 un-camelcase input_is_filename argument 2015-10-12 14:24:16 -04:00
Sebastian Kosch
09060672a0 Allow users to pipe in the model via stdin
Hi,

I've been running or-tools with FlatZinc files that are assembled by a script. In my situation, it's much more convenient to pass the code in via stdin instead of saving it to a file first. Here are the modifications I've been using on my end to make that possible. They may well not be up to snuff with your coding standards (sorry; I'm not a C++ guy), but I wanted to put them out there in case you guys are willing to add that feature in :)
2015-10-12 14:17:44 -04:00
TheCoolRob
51cd969733 Update parser.yy
Added missing std:: prefix to vector type. Fails on windows when 'make fz' called.
2015-10-12 17:59:18 +02:00
Laurent Perron
1210b3e5ed fix sulum/cplex 2015-09-30 14:33:49 +02:00
Laurent Perron
6fe23211e1 rewrote flatzinc code to use C++11 idoms: do not use const vector<>&, but vector<> with std::move in ctors and builder methods 2015-09-30 11:45:47 +02:00
Laurent Perron
e38a6a3f23 rewrote flatzinc code to use C++11 idoms: do not use const vector<>&, but vector<> with std::move in ctors and builder methods 2015-09-30 11:42:09 +02:00
Laurent Perron
62e9b08fbe added new constraint on forbidden list of intervals 2015-09-25 13:04:43 +02:00
Laurent Perron
d7a176d476 wrap MakeIntervalVar in python 2015-09-18 10:14:06 +02:00
Laurent Perron
2bf8c241c9 remove faulty presolve code, that is made unnecessary since the redefinitions of array_int_{max|min}imum 2015-09-04 12:38:55 +02:00
Laurent Perron
50022c5c51 fix last commit 2015-09-04 10:45:58 +02:00