PySCIPOpt
chatnoir-resiliparse
PySCIPOpt | chatnoir-resiliparse | |
---|---|---|
5 | 2 | |
749 | 42 | |
1.3% | - | |
9.4 | 7.5 | |
3 days ago | 3 days ago | |
JetBrains MPS | Cython | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PySCIPOpt
- GitHub - scipopt/PySCIPOpt: Python interface for the SCIP Optimization Suite
- Python Interface for the SCIP Optimization Suite
-
Rust or C/C++ to learn as a secondary language?
It’s impossible to recommend the right tool for the job, and honestly, depending on how much maths you know it might be hard to make progress, but I’d put money on a constraint solver reducing the time from hours to seconds. Can recommend this one https://github.com/scipopt/PySCIPOpt
-
Python open-source solvers
I guess that pySCIP might be what you are looking for. Note that SCIP only supports linear objectives. However, since quadratic constraints are supported, you can easily use an auxiliary constraint to present the objective, e.g. min z s.t. z <= x*x.
-
Error installing pyscipopt
From the docs (https://github.com/scipopt/PySCIPOpt/blob/master/INSTALL.md#installation-from-pypi)
chatnoir-resiliparse
-
Selenium over scrapy
bs4 is a little slow, try https://github.com/chatnoir-eu/chatnoir-resiliparse, it's faster for working with the dom written in cython and based on lexbor (written in C and very fast)
-
Would I ever need anything besides Python (not pro)
I've been working on this for the last several days, and learning a lot. I'm actually moving away from dask to python multiprocessing, the overhead for extremely fast functions written in cython seems to slow it down when added to a dask task graph sometimes more than running sequentially. At least that's what experiments are showing, https://github.com/chatnoir-eu/chatnoir-resiliparse/issues/23
What are some alternatives?
pyomo - An object-oriented algebraic modeling language in Python for structured optimization problems.
cyvcf2 - cython + htslib == fast VCF and BCF processing
pulp - A python Linear Programming API
Streaming multipart/form-data parser - Streaming (and fast!) parser for multipart/form-data written in Cython
rust-ndarray - ndarray: an N-dimensional array with array views, multidimensional slicing, and efficient operations
pyimgui - Cython-based Python bindings for dear imgui
Bonmin - Basic Open-source Nonlinear Mixed INteger programming
cymem - 💥 Cython memory pool for RAII-style memory management
gopy - gopy generates a CPython extension module from a go package.
Cython - The most widely used Python to C compiler
preshed - 💥 Cython hash tables that assume keys are pre-hashed