Skip to content

Commit

Permalink
Merge branch 'latest' of https://github.com/ERGO-Code/HiGHS into neos…
Browse files Browse the repository at this point in the history
…4LargeBnds
  • Loading branch information
fwesselm committed Jun 12, 2024
2 parents 57214c9 + 718dd79 commit e8812c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions docs/src/guide/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ and [classes](@ref classes-overview), and are referred to below.

#### [Enums](@id guide-basic-enums)

Enums are scalar identifier types that can take only a limited range of values.????

#### The
advantage using these classes is that many fewer parameters are
needed when passing data to and from HiGHS. However, the use of
classes is not necessary for the basic use of `highspy`. As with the
`C` and `Fortran` interfaces, there are equivalent methods that use
simple scalars and vectors of data.
Enums are scalar identifier types that can take only a limited range of values.

#### [Classes](@id guide-basic-classes) The advantage of using the
native `C++` classes in HiGHS is that many fewer parameters are needed
when passing data to and from HiGHS. The binding of the data members
of these classes to `highspy` structures allows them to be used when
calling HiGHS from Python, although they are not necessary for the
basic use of `highspy`. As with the `C` and `Fortran` interfaces,
there are equivalent methods that use simple scalars and vectors of
data.

## Defining a model

Expand Down
2 changes: 1 addition & 1 deletion src/io/HMPSIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ HighsStatus writeModelAsMps(const HighsOptions& options,
HighsStatus row_name_status =
normaliseNames(options.log_options, "row", lp.num_row_, local_row_names,
max_row_name_length);
if (row_name_status == HighsStatus::kError) return col_name_status;
if (row_name_status == HighsStatus::kError) return row_name_status;
warning_found = row_name_status == HighsStatus::kWarning || warning_found;

HighsInt max_name_length = std::max(max_col_name_length, max_row_name_length);
Expand Down

0 comments on commit e8812c2

Please sign in to comment.