# SOL format

Filter Content By
Version
Languages

## SOL format

A Gurobi solution (SOL) file is used to output a solution vector. It can be written (using GRBwrite, for example) whenever a solution is available.

The file consists of variable-value pairs, each on its own line. The file contains one line for each variable in the model. The following is a simple example:

# Solution file
x  1.0
y  0.5
z  0.2