Comments (6)
What is the planned date for this release? I think we should have this up and running before the next TuLiP release.
from polytope.
My suggestion is to avoid making any changes for the initial polytope
release, so that it is exactly the same with the old one. This way people using older code can adapt their imports and use the first version of polytope
. There is no planned date, releasing it on PyPI
requires just two commands (same as for testpypi
), I agree that it should be released before (or together with) tulip
. A motivation for releasing it right away is to reserve the name on PyPI
. If there is consensus I can do that.
from polytope.
I just did a fresh install of tulip
from the master branch, together with polytope
from its master branch and the examples seem to work fine. We might want to decide on the dependencies before the release:
- the minimum
NumPy
versionpolytope
requires is currently 1.7 according tosetup.py
but I guess it should be compatible with earlier versions ofNumPy
as well. polytope
requiresnetworkx
; as far as I remember, we can make this optional. But if we feel that it is going to be required in the future, we might keep it as is as well.
from polytope.
There are 2 places that lightly use networkx
:
plot_partition
usesnx.to_numpy_matrix
to accept graphs as input.MetricPartition
subclassesnx.Graph
besidesPartition
. This because it abstracts the metric into a graph. Although currently this is not being used and theadj
attribute is being used, after the initial release and whentulip.abstract.discretization.discretize
is rewritten, I'd like to replaceadj
with operations on the graph itself. This is much more natural, if one thinks of itdiscretize
becomes a graph rewriting function, and such an implementation is more robust to bugs because it will use the existingnetworkx
methods. Moreover, it will avoid copying adjacency matrices and padding nodes, because it will just remove and add nodes iteratively. Also k-hop neighbor information (trans
argument todiscretize
) will be easier to fetch.
from polytope.
For posterity, discussion about dependency versions for TuLiP in tulip-control/tulip-control#48 is relevant.
from polytope.
b2c9ccd is the initial release v0.1.0
and can be found on PyPI.
from polytope.
Related Issues (20)
- collect bibliography from source files HOT 3
- The numpy boolean negative, the `-` operator, is not supported, use the `~` operator or the logical_not function instead
- Polytope error for 1D HOT 2
- update to `networkx >= 2.0` HOT 1
- should `cvxopt` be included in requirements.txt? HOT 6
- cvxopt 1.2.0 bug HOT 5
- support Python 3.7 HOT 4
- create regression test for bug fix of PR #56
- release `polytope == 0.2.2` HOT 1
- Error message says "Cannot plot polytopes of dimension larger than 2", but can't plot dimension 1 aswell HOT 2
- Zero Volume for 14D polytope HOT 8
- remove support for Python 2.7, 3.5, 3.6 HOT 7
- support Python 3.10
- With large scales `reduce` can remove non-redundant hyperplanes HOT 2
- `.project` can return redundant hyperplanes despite `minrep == True` HOT 1
- Plotting polytopes on same plot/ adding "_get_patch" as an import option
- How to use cvxopt to find intersection between polytope HOT 4
- polytope volume changing on each trial HOT 2
- Polytope.reduce and removal of possibly overlapping polytopes HOT 3
- Updated release on PyPI? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polytope.