michieluithetbroek / a-mdvrp Goto Github PK
View Code? Open in Web Editor NEWAsymmetric multi-depot vehicle routing problems: valid inequalities and a branch-and-cut algorithm
License: MIT License
Asymmetric multi-depot vehicle routing problems: valid inequalities and a branch-and-cut algorithm
License: MIT License
The function Cut::getCuts
now returns a vector of CPLEX cuts. If one wants to use Gurobi, then one has to edit the function Cut::getCuts
because 1) we need another return type, and 2) we have to call Cut::createGurobiConstraint
instead of Cut::createIloRange
.
We may avoid this by making Cut::getCuts
a template function with two specialized template values (i.e., CPLEX and Gurobi). To avoid that the new template function breaks with the current code we can set the default value of the template to CPLEX.
The function will then be called as
auto const cuts = cut_ptr->getCuts<CPLEX>(model.d_env, model.d_x, x_val, true);
The function Cut::getCuts
uses the function Cut::createIloRange
to translate vector<CutReturn>
into vector<IloRange>
such that the valid inequalities can be used by CPLEX. We should also add a function that translates our CutReturn
objects into objects that can be used by Gurobi.
Do not forget to update the wiki page that describes how to use another solver as this now explains how to use Gurobi.
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.