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
Installation on Linux
Installation on Mac OS X
Quick start guide
Quick tour of LocalSolver’s modeler
Quick tour of LocalSolver’s APIs
Step by step
Advanced features
Callback functions
Piecewise linear functions
The at operator
List variables
LSP Reference Manual
Syntax and lexical analysis
Values and types
Variables
Expressions
Statements
Modules
Command line
Standard library
Python API Reference
LocalSolver Class
LSExpression Class
LSModel Class
LSParam Class
LSPhase Class
LSSolution Class
LSStatistics Class
LSVersion Class
LSError Class
LState Enumeration
LSOperator Enumeration
LSObjectiveDirection Enumeration
LSCallbackType Enumeration
LSErrorCode Enumeration
LSSolutionStatus Enumeration
C++ API Reference
Java API Reference
C# API Reference
LocalSolver
Docs
»
LSP Reference Manual
»
Standard library
»
Random module
Random module
¶
random.
create
(
)
¶
random.
create
(
seed
)
type
random
¶
init
(
)
¶
init
(
seed
)
next
(
max
)
¶
next
(
min
,
max
)
nextNormal
(
)
¶
nextNormal
(
mu
,
sigma
)
nextLogNormal
(
)
¶
nextLogNormal
(
mu
,
sigma
)
nextUniform
(
min
,
max
)
¶