New
Hexaly 13.0 is out!
Check it out
x
Hexaly
×
Products
Hexaly Optimizer
Mathematical optimization solver
Hexaly Studio
No-code mathematical optimization
Hexaly Modeler
Low-code mathematical optimization
Hexaly Cloud
Mathematical optimization as a service
Resources
Benchmarks
Examples
Customers
Pricing
Try for free
Contact us
Solutions
Route Optimization
Production Scheduling & Blending
Supply Chain Network Design
Workforce Scheduling & Routing
Simulation Optimization
Professional Services
Contact us
Customers
Developers
Get started
Installation & licensing
Quick start guide
Modeling features
Technical features
Guidelines
Example tour
APIs
Hexaly Modeler Reference
Python API Reference
C++ API Reference
C# API Reference
Java API Reference
Download
Doc center
Blog
Latest articles
Philippe Laborie presents Hexaly at the Scheduling Seminar
How The Grain solves production scheduling problems in minutes with Hexaly
Meet Hexaly at 2024 INFORMS Annual Meeting
Hexaly vs Gurobi on the K-Means Clustering Problem (MSSC)
Hexaly, Gurobi, CP Optimizer on the Simple Assembly Line Balancing Problem (SALBP)
Benchmarks
Customer stories
Announcements
Tutorials
Events
All articles
Company
About
Team
Join Us
Login
Contact us
Contact us
Login
Open menu drawer
This page is for an old version of Hexaly Optimizer. We recommend that you update your version and read the documentation for the
latest stable release
.
LocalSolver
Installation & licensing
Installation on Windows
System requirements
Installation
Licensing for a desktop, academic, server or trial license
Licensing for a floating license or academic network license
Testing
Uninstallation
Installation on Linux
System requirements
Installation
Licensing for a desktop, academic, server or trial license
Licensing for a floating license or academic network license
Testing
Uninstall LocalSolver
Installation on Mac OS X
System requirements
Installation
Licensing for a desktop, academic, server or trial license
Licensing for a floating license or academic network license
Testing
Uninstall LocalSolver
Quick start guide
Quick tour of LocalSolver’s modeler
Solving your first model
Mathematical modeling features
Programming style
Built-in variables and functions
Quick tour of LocalSolver’s APIs
Solving your first model in Python
Solving your first model in C++
Solving your first model in Java
Solving your first model in C#
Step by step
Modeling principles
Solving your first business problem
How to migrate from MIP to LSP ?
Advanced features
Callback functions
Native functions
Principles
Example
Pitfalls
At operator
The 1-dimensional at operator
The multi-dimensional at operator
Jagged arrays
Pitfalls
Piecewise operator
List variables
The list operator
Operators on lists
Application to routing problems
Black-Box Optimization
Black-Box optimization in C++
Black-Box optimization in Java
Black-Box optimization in .NET
Black-Box optimization in Python
Infeasibility and inconsistency
Analyzing inconsistencies
Setting an initial solution
LSP Reference Manual
Syntax and lexical analysis
Global structure
Encoding
Comments
Identifiers
Keywords
Literals
Values and types
Standard & common types
Other types
Variables
Global variables
Local variables
Memory management
Expressions
Arithmetic expressions
Relational expressions
Logical expressions
Conditional (ternary) expressions
Indexed expressions
Member expressions
Type related expressions
Operator precedence & associativity
Map declaration
Statements
Assignment statements
If statements
For statements
While/do-while statements
Continue statement
Break statement
Try-catch statement
Throw statement
Contraint/minimize/maximize statements
Functions
Function definition
Return statement
Function call
Variadic function call
Lambda and closures
Modules
Command line
Standard library
Builtin functions and variables
String module
Map module
I/O module
Charset module
Math module
Random module
Date/time module
Appendix
BNF Syntax
Example tour
Toy
Principles learned
Problem
Program
Knapsack
Principles learned
Problem
Program
P-median
Principles learned
Problem
Data
Program
Branin function
Principles learned
Problem
Program
Optimal bucket
Principles learned
Problem
Program
Smallest circle
Principles learned
Problem
Data
Program
Max cut
Principles learned
Problem
Data
Program
Social golfer
Principles learned
Problem
Data
Program
Car sequencing
Principles learned
Problem
Data
Program
Steel mill slab design
Principles learned
Problem
Data
Program
K-means
Principles learned
Problem
Data
Program
Travelling salesman problem
Principles learned
Problem
Data
Program
Known optimal solutions
Quadratic assignment problem
Principles learned
Problem
Data
Program
Flowshop
Principles learned
Problem
Data
Program
Vehicule routing problem
Principles learned
Problem
Data
Program
From CVRP to CVRPTW
Python API Reference
LocalSolver
LocalSolver Class
LSCollection Class
LSExpression Class
LSModel Class
LSNativeContext Class
LSParam Class
LSPhase Class
LSSolution Class
LSInconsistency Class
LSStatistics Class
LSVersion Class
LSError Class
LSState Enumeration
LSOperator Enumeration
LSObjectiveDirection Enumeration
LSCallbackType Enumeration
LSErrorCode Enumeration
LSSolutionStatus Enumeration
LocalSolverBlackBox
LocalSolverBlackBox Class
LSBBExpression Class
LSBBModel Class
LSBBNativeContext Class
LSBBParam Class
LSBBSolution Class
LSBBState Enumeration
LSBBOperator Enumeration
LSBBObjectiveDirection Enumeration
LSBBErrorCode Enumeration
C++ API Reference
LocalSolver
LocalSolver Class
LSCollection Class
LSExpression Class
LSModel Class
LSNativeContext Class
LSParam Class
LSPhase Class
LSSolution Class
LSStatistics Class
LSVersion Class
LSException Class
LSCallback Interface
LSNativeFunction Interface
LSState Enumeration
LSOperator Enumeration
LSObjectiveDirection Enumeration
LSCallbackType Enumeration
LSErrorCode Enumeration
LSSolutionStatus Enumeration
LocalSolverBlackBox
LocalSolverBlackBox Class
LSBBExpression Class
LSBBModel Class
LSBBNativeContext Class
LSBBParam Class
LSBBSolution Class
LSBBException Class
LSBBNativeFunction Interface
LSBBState Enumeration
LSBBOperator Enumeration
LSBBObjectiveDirection Enumeration
LSBBErrorCode Enumeration
Java API Reference
C# API Reference
LocalSolver
Docs
»
LSP Reference Manual
»
Modules
Modules
ΒΆ