charjon / geco Goto Github PK
View Code? Open in Web Editor NEWGenerators for Combinatorial Optimization
License: MIT License
Generators for Combinatorial Optimization
License: MIT License
should contain:
And make it compliant.
This paper generates MIPs that share a common 'backbone' (substructure). Write a prototype CommonSubstructureGenerator in the generator.py to extend our generator framework.
There should be some testcases that ensure different seeds are creating different instances.
Or delete it all together, as the pypi package will make this obsolete?
The list should group by instance type on the top level and also mention all papers (we are aware of) doing experiments on instances of this type.
And make it compliant. Should be quit similar to set covering.
Shuffling here means shuffling rows and columns of the MIP.
A function to easily get all (easy, hard, open) instances that are (or are not) part of the benchmark set would be nice to have.
Add a small example to the README on how to save models to disk (maybe in different file formats).
The assertions should be of the form assert (seed1 == seed2 and param1 == param2) or (seed1 != seed2 and param1 != param2)
Add method to translate set-cover problems from or-lib to our parameters for set-cover formulations.
There should be some testcases that ensure different seeds are creating different instances.
Networkx decorator might be usefull. See e.g. here.
By origin I mean the paper.
Currently we are using the networkx decorator for randomness.
The design is tailored to not require numpy, but as we build on numpy anyways, we could write our own decorator.
Possible benefits:
I.a. take care of TODOs
Extended test cases needed.
For this the parameter generator needs to be split from the mip generator.
The example code in the README did not work:
from geco import knapsack
knapsack.yang_instance(n=5, seed=1)
For this we would have to change our init.py files to the same style networkx is using.
Shall we?
For solved problems the MIPLIB also offers solution files, that can be downloaded.
For our MIPLIB module we could add a function that downloads the (all) solution files, given an instance name.
And make it compliant.
The current test_heinz_formulation raises errors when counting the number of variables. This might be a time_step related problem. This needs to be fixed and the @pytest.mark.xfail
should be removed afterwards.
Add a CONTRIBUTING.md file that contains:
There should be some testcases that ensure different seeds are creating different instances.
Input is a nx.Graph. For MIP formulation see e.g. here.
Add method to translate capacitated warehouse location problems from or-lib to our parameters for the existing formulation.
There should be some testcases that ensure different seeds are creating different instances.
quiet as in they don't output anything when optimize()
is run on them.
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.