@@ -770,7 +770,7 @@ HighsInt Highs_getStringOptionValue(const void* highs, const char* option,
770770 *
771771 * @param highs A pointer to the Highs instance.
772772 * @param option The name of the option.
773- * @param type An int in which the corresponding `kHighsOptionType`
773+ * @param type A HighsInt in which the corresponding `kHighsOptionType`
774774 * constant should be placed.
775775 *
776776 * @returns A `kHighsStatus` constant indicating whether the call succeeded.
@@ -842,7 +842,7 @@ HighsInt Highs_getBoolOptionValues(const void* highs, const char* option,
842842 HighsInt * current_value ,
843843 HighsInt * default_value );
844844/**
845- * Get the current and default values of an int option
845+ * Get the current and default values of a HighsInt option
846846 *
847847 * @param highs A pointer to the Highs instance.
848848 * @param current_value A pointer to the current value of the option.
@@ -924,7 +924,7 @@ HighsInt Highs_getInt64InfoValue(const void* highs, const char* info,
924924 *
925925 * @param highs A pointer to the Highs instance.
926926 * @param info The name of the info item.
927- * @param type An int in which the corresponding `kHighsOptionType`
927+ * @param type A HighsInt in which the corresponding `kHighsOptionType`
928928 * constant is stored.
929929 *
930930 * @returns A `kHighsStatus` constant indicating whether the call succeeded.
@@ -983,7 +983,7 @@ HighsInt Highs_getModelStatus(const void* highs);
983983 * LP) gets it if it does not and dual_ray_value is not nullptr.
984984 *
985985 * @param highs A pointer to the Highs instance.
986- * @param has_dual_ray A pointer to an int to store 1 if a dual ray
986+ * @param has_dual_ray A pointer to a HighsInt to store 1 if a dual ray
987987 * currently exists.
988988 * @param dual_ray_value An array of length [num_row] filled with the
989989 * unbounded ray.
@@ -1001,9 +1001,10 @@ HighsInt Highs_getDualRay(const void* highs, HighsInt* has_dual_ray,
10011001 *
10021002 * @param highs A pointer to the Highs
10031003 * instance.
1004- * @param has_dual_unboundedness_direction A pointer to an int to store 1
1005- * if the dual unboundedness
1006- * direction exists.
1004+ * @param has_dual_unboundedness_direction A pointer to a HighsInt to
1005+ * store 1 if the dual
1006+ * unboundedness direction
1007+ * exists.
10071008 * @param dual_unboundedness_direction_value An array of length [num_col]
10081009 * filled with the unboundedness
10091010 * direction.
@@ -1018,7 +1019,7 @@ HighsInt Highs_getDualUnboundednessDirection(
10181019 * LP) gets it if it does not and primal_ray_value is not nullptr.
10191020 *
10201021 * @param highs A pointer to the Highs instance.
1021- * @param has_primal_ray A pointer to an int to store 1 if the primal ray
1022+ * @param has_primal_ray A pointer to a HighsInt to store 1 if the primal ray
10221023 * exists.
10231024 * @param primal_ray_value An array of length [num_col] filled with the
10241025 * unbounded ray.
@@ -1279,7 +1280,7 @@ HighsInt Highs_setCallback(void* highs, HighsCCallbackType user_callback,
12791280 *
12801281 * @returns A `kHighsStatus` constant indicating whether the call succeeded.
12811282 */
1282- HighsInt Highs_startCallback (void * highs , const int callback_type );
1283+ HighsInt Highs_startCallback (void * highs , const HighsInt callback_type );
12831284
12841285/**
12851286 * Stop callback of given type
@@ -1289,7 +1290,7 @@ HighsInt Highs_startCallback(void* highs, const int callback_type);
12891290 *
12901291 * @returns A `kHighsStatus` constant indicating whether the call succeeded.
12911292 */
1292- HighsInt Highs_stopCallback (void * highs , const int callback_type );
1293+ HighsInt Highs_stopCallback (void * highs , const HighsInt callback_type );
12931294
12941295/**
12951296 * Return the cumulative wall-clock time spent in `Highs_run`.
@@ -1754,15 +1755,15 @@ HighsInt Highs_getObjectiveOffset(const void* highs, double* offset);
17541755 * @param highs A pointer to the Highs instance.
17551756 * @param from_col The first column for which to query data for.
17561757 * @param to_col The last column (inclusive) for which to query data for.
1757- * @param num_col An integer populated with the number of columns got from
1758+ * @param num_col A HighsInt populated with the number of columns got from
17581759 * the model (this should equal `to_col - from_col + 1`).
17591760 * @param costs An array of size [to_col - from_col + 1] for the column
17601761 * cost coefficients.
17611762 * @param lower An array of size [to_col - from_col + 1] for the column
17621763 * lower bounds.
17631764 * @param upper An array of size [to_col - from_col + 1] for the column
17641765 * upper bounds.
1765- * @param num_nz An integer to be populated with the number of non-zero
1766+ * @param num_nz A HighsInt to be populated with the number of non-zero
17661767 * elements in the constraint matrix.
17671768 * @param matrix_start An array of size [to_col - from_col + 1] with the start
17681769 * indices of each column in `matrix_index` and
@@ -1831,13 +1832,13 @@ HighsInt Highs_getColsByMask(const void* highs, const HighsInt* mask,
18311832 * @param highs A pointer to the Highs instance.
18321833 * @param from_row The first row for which to query data for.
18331834 * @param to_row The last row (inclusive) for which to query data for.
1834- * @param num_row An integer to be populated with the number of rows got
1835+ * @param num_row A HighsInt to be populated with the number of rows got
18351836 * from the model.
18361837 * @param lower An array of size [to_row - from_row + 1] for the row
18371838 * lower bounds.
18381839 * @param upper An array of size [to_row - from_row + 1] for the row
18391840 * upper bounds.
1840- * @param num_nz An integer to be populated with the number of non-zero
1841+ * @param num_nz A HighsInt to be populated with the number of non-zero
18411842 * elements in the constraint matrix.
18421843 * @param matrix_start An array of size [to_row - from_row + 1] with the start
18431844 * indices of each row in `matrix_index` and
@@ -1940,7 +1941,7 @@ HighsInt Highs_getColByName(const void* highs, const char* name, HighsInt* col);
19401941 * Get the integrality of a column.
19411942 *
19421943 * @param col The index of the column to query.
1943- * @param integrality An integer in which the integrality of the column should
1944+ * @param integrality A HighsInt in which the integrality of the column should
19441945 * be placed. The integer is one of the `kHighsVarTypeXXX`
19451946 * constants.
19461947 *
@@ -1994,7 +1995,7 @@ HighsInt Highs_deleteColsByMask(void* highs, HighsInt* mask);
19941995 *
19951996 * @returns A `kHighsStatus` constant indicating whether the call succeeded.
19961997 */
1997- HighsInt Highs_deleteRowsByRange (void * highs , const int from_row ,
1998+ HighsInt Highs_deleteRowsByRange (void * highs , const HighsInt from_row ,
19981999 const HighsInt to_row );
19992000
20002001/**
@@ -2222,9 +2223,9 @@ HighsInt Highs_getPresolvedLp(const void* highs, const HighsInt a_format,
22222223 *
22232224 * @returns A `kHighsStatus` constant indicating whether the call succeeded.
22242225 */
2225- HighsInt Highs_crossover (void * highs , const int num_col , const int num_row ,
2226- const double * col_value , const double * col_dual ,
2227- const double * row_dual );
2226+ HighsInt Highs_crossover (void * highs , const HighsInt num_col ,
2227+ const HighsInt num_row , const double * col_value ,
2228+ const double * col_dual , const double * row_dual );
22282229
22292230/**
22302231 * Compute the ranging information for all costs and bounds. For
0 commit comments