mit-drl / goop Goto Github PK
View Code? Open in Web Editor NEWGeneralized Mixed Integer Optimization in Go
Home Page: https://mit-drl.github.io/goop/
License: GNU General Public License v3.0
Generalized Mixed Integer Optimization in Go
Home Page: https://mit-drl.github.io/goop/
License: GNU General Public License v3.0
Howdy
Just thought I'd ask, are there any maintainers? I quite like the API this module provides, but it's not in a usable state. I'm guessing that the Gurobi implementation is less broken, but (so far) I've found the following issues (in no particular order), while using this as a base to integrate with LPSolve:
set_verbose
with a NULL
value for lp
(setting the log level, within Model.Optimize
), and subsequently diesMIPSolution
) returned by the solver implementation - it MUST be deleted, so it seems very advisable to copy all the values into Go-managed memory, instead of using it directlySolver
backend / implementation (including lifecycle, so perhaps with a SolverFactory
or some such), then implement the solvers entirely independently. This would make it possible to avoid the core implementation depending any solvers, and not require building all solvers, if you only need one.Model.Optimize
) is janky, IMO - deletion is deferred after running the solver, which either makes it unsafe to retain the solver instance if it gets that far, or doesn't delete it / leaks it (in practice it is probably ok, but if the abstraction is changing anyway, it'd be great to address this)I've forked this and I'm hoping I've fixed all the bugs, but I don't really intend to maintain my fork, which is hacked together solely for my own use.
Disclaimer: I'm not sure if I've resolved all the memory leaks, and may be misunderstanding some critical bits. I do, however, have it working, for my use case, pending verification of it not kicking my dog.
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.