guicho271828 / common-lisp-project-ideas

Discuss future project ideas
12 stars 0 forks source link

Modelling approach to OR and combinatorial problems: API bridges #5

Open guicho271828 opened 7 years ago

guicho271828 commented 7 years ago

There are various domain-independent solvers available. Making the bridges to these commercial optimized solvers, competition winners or state-of-the-arts will widely enhance the ability to prototype a system that can handle difficult problems via problem compilation (i.e. mapping/compiling/transforming the original problem into a form that is compatible to the solvers, then retrieve the solution).

These solvers tend to support a common input format due to industrial standardization or simply the competition rules. Thus, making a bridge should be not so difficult.

According to https://kuomarc.wordpress.com/2012/03/05/the-uncommon-lisp-approach-to-operations-research/ , this approach is a "modelling" approach. There are "programming" approaches (which means implementing these algorithm in pure lisp), but this is a different topic. For exmaple, https://jorgetavares.com/2017/05/03/gp-code-on-github/ is a "programming" approach.

Progress:

Recommended practice:

The compiler/parser for the specific format and the actual solver bridge should be decoupled.

guicho271828 commented 6 years ago

Working in progress: https://github.com/guicho271828/cl-smt .