Skip to content

Commit e8812c2

Browse files
committed
Merge branch 'latest' of https://github.com/ERGO-Code/HiGHS into neos4LargeBnds
2 parents 57214c9 + 718dd79 commit e8812c2

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

docs/src/guide/basic.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ and [classes](@ref classes-overview), and are referred to below.
2020

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

23-
Enums are scalar identifier types that can take only a limited range of values.????
24-
25-
#### The
26-
advantage using these classes is that many fewer parameters are
27-
needed when passing data to and from HiGHS. However, the use of
28-
classes is not necessary for the basic use of `highspy`. As with the
29-
`C` and `Fortran` interfaces, there are equivalent methods that use
30-
simple scalars and vectors of data.
23+
Enums are scalar identifier types that can take only a limited range of values.
24+
25+
#### [Classes](@id guide-basic-classes) The advantage of using the
26+
native `C++` classes in HiGHS is that many fewer parameters are needed
27+
when passing data to and from HiGHS. The binding of the data members
28+
of these classes to `highspy` structures allows them to be used when
29+
calling HiGHS from Python, although they are not necessary for the
30+
basic use of `highspy`. As with the `C` and `Fortran` interfaces,
31+
there are equivalent methods that use simple scalars and vectors of
32+
data.
3133

3234
## Defining a model
3335

src/io/HMPSIO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ HighsStatus writeModelAsMps(const HighsOptions& options,
564564
HighsStatus row_name_status =
565565
normaliseNames(options.log_options, "row", lp.num_row_, local_row_names,
566566
max_row_name_length);
567-
if (row_name_status == HighsStatus::kError) return col_name_status;
567+
if (row_name_status == HighsStatus::kError) return row_name_status;
568568
warning_found = row_name_status == HighsStatus::kWarning || warning_found;
569569

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

0 commit comments

Comments
 (0)