You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is not appropriate for them to mimic, since it contains the Model status, feasibility of the solution values and objective function value.
The format needs to distinguished such files, and for partial solutions, be driven by names, and not indices. Names can be assumed to be known, since the model itself is read from a name-driven format (MPS or .lp). The following formats are suggested
The negated number of values distinguishes full and partial solutions - as with the HiGHS output solution file.
For partial solutions, the variables with unspecified values will be assigned a value kHighsUndefined
When the incumbent model is solved with a non-empty Highs::solution_, variables with kHighsUndefined values will be interpreted as follows
For MIPs, after fixing any integer variables with defined values at those values, an attempt will be made to solve for the remaining values to provide an initial integer feasible solution for the MIP solver
For continuous problems, variables with kHighsUndefined values will be set to zero if $l\le0\le u$, otherwise their lower bound or (if the lower bound is $-\infty$) upper bound, to provide an initial solution for the simplex solver
The text was updated successfully, but these errors were encountered:
Users running HiGHS from the command line may wish to supply a (partial) solution from a file. The HiGHS output solution file format,
is not appropriate for them to mimic, since it contains the
Model status
, feasibility of the solution values and objective function value.The format needs to distinguished such files, and for partial solutions, be driven by names, and not indices. Names can be assumed to be known, since the model itself is read from a name-driven format (MPS or .lp). The following formats are suggested
For full solutions
For partial solutions
The negated number of values distinguishes full and partial solutions - as with the HiGHS output solution file.
For partial solutions, the variables with unspecified values will be assigned a value
kHighsUndefined
When the incumbent model is solved with a non-empty
Highs::solution_
, variables withkHighsUndefined
values will be interpreted as followskHighsUndefined
values will be set to zero ifThe text was updated successfully, but these errors were encountered: