Hexaly Modeler

Hexaly Modeler fills the gap between modeling and programming languages. It is natively integrated with Hexaly Optimizer and Studio.

perfect blend of programming and modeling features

Why Hexaly Modeler?

All existing modeling languages have the same flaw: they become useless when manipulating or editing data or results. They force you to use external scripts or languages.

On the contrary, Hexaly Modeler is a dynamically typed, imperative language with unique structured programming features that ensure easy modeling for any type of optimization problem.

Editor • toy.hxm
function model() {
    x[0..7] <- bool();
    weights <- { 10, 60, 30, 40, 30, 20, 20, 2 };
    prices <- { 1, 10, 15, 40, 60, 90, 100, 15 };
    constraint sum[i in 0..7](x[i]*weights[i]) <= 102;
    maximize sum[i in 0..7](x[i]*prices[i]);
}

function param() {
    lsTimeLimit = 10;
}
Terminal
hexaly toy.hxm
Load toy.hxm...
Run input...
Run model...
Run param...
Run solver...

Model:  expressions = 62, decisions = 8, constraints = 1, objectives = 1
Param:  time limit = 10 sec, no iteration limit

[objective direction ]:     maximize

[  0 sec,       0 itr]:            0
[ optimality gap     ]:      100.00%
[  0 sec,   16402 itr]:          280
[ optimality gap     ]:           0%

16402 iterations performed in 0 seconds

Optimal solution:
  obj    =          280
  gap    =           0%
  bounds =          280

Run output...

Concise & mathematical

With Hexaly Modeler, using paper or LaTeX formulas to model your problems is over. Coupled with the richness and expressiveness of Hexaly, our modeling language is understandable even to people who do not know the Hexaly Modeler syntax.

Efficient

Hexaly Modeler takes full advantage of its powerful integration with Hexaly Optimizer. Writing your models in Hexaly Modeler gives you the best possible modeling times and performance compared to other dynamic languages like Python.

Builtin I/O features

You do not have to worry about decoding your data anymore. Hexaly Modeler does it for you in a few lines. It has all the features you need to easily read various file formats (like JSON or CSV) or manipulate dates and times. It also has built-in support for many charsets and encodings.

Easy integration

Hexaly Modeler works as a standalone program, but it also has an API you can call from your favorite languages like Python, C#, C++, or Java. You can run your Hexaly Modeler programs from your applications and easily exchange data. If you miss a feature, code it in your language and expose it directly in Hexaly Modeler.

Ready to start with Hexaly Modeler?

Hexaly Modeler comes with Hexaly Optimizer and Studio at no extra cost.