baharev / sdopt-tearing Goto Github PK
View Code? Open in Web Editor NEWExact and heuristic methods for tearing
Home Page: https://sdopt-tearing.readthedocs.io/
License: BSD 3-Clause "New" or "Revised" License
Exact and heuristic methods for tearing
Home Page: https://sdopt-tearing.readthedocs.io/
License: BSD 3-Clause "New" or "Revised" License
Hello Ali,
Thanks first for providing us freely this codebase on the very specific subject of tearing.
I have seen there is some backend for AMPL, and Python.
I would like to know if it has been envisaged already to target the Julia language?
It's taking more and more place in the mathematical landscape.
FYI, the networkx package has been ported to lightgraphs.jl.
Cordially
Olivier
@baharev
I want to use sdopt-tearing in my Master's project but I am having some difficulty interacting with your code. Currently, I manually create the incidence matrix and pass it to the methods in heap_md.py to get the orderings using either the Hessenberg or Dulmage-Mendelsohn algorithms.
The problem that I have is ordering variables calling a function eg.
a = f(x, y, z)
My initial plan was to add the equation to the incidence matrix having the variable a, x, y, z
but I run into situations where this equation is used (for example) to calculate the variable x
.
I have read your documentation and see that there are methods that cater to for "bad" eliminations
determine which variables can be explicitly and safely eliminated from which equations
Is it possible for me to use this property to flag variables as bad eliminations? My plan is to create a new variable f
and dummy equations eg.
f = x*y*z
(1)
a = (x + y + z)*f
(2)
and flag variable f
as a "bad" elimination in equation 2. I create equation 1 to have the Degrees of Freedom of the system 0.
As a side note, these algorithms are extraordinary
Thanks in advance
Edgar
The following error is encountered when running
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The errors originate from the following lines:
I am currently part of a group of people writing a paper on testing for research software, as your code uses property based test (hypothesis) I would like to reference it. Have you thought about adding a citation file?
Details here: http://www.software.ac.uk/blog/2013-09-02-encouraging-citation-software-introducing-citation-files
Example here: https://github.com/dib-lab/khmer/blob/master/CITATION
Thanks!
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.