@@ -1054,6 +1054,17 @@ HighsInt Highs_getPrimalRay(const void* highs, HighsInt* has_primal_ray,
10541054 */
10551055double Highs_getObjectiveValue (const void * highs );
10561056
1057+ /**
1058+ * Get the dual objective function value.
1059+ *
1060+ * @param highs A pointer to the Highs instance.
1061+ * @param dual_objective_value The dual objective value
1062+ *
1063+ * @returns A `kHighsStatus` constant indicating whether the call succeeded.
1064+ */
1065+ HighsInt Highs_getDualObjectiveValue (const void * highs ,
1066+ double * dual_objective_value );
1067+
10571068/**
10581069 * Get the indices of the rows and columns that make up the basis matrix ``B``
10591070 * of a basic feasible solution.
@@ -2384,34 +2395,47 @@ HighsInt Highs_feasibilityRelaxation(void* highs,
23842395 * an LP, QP, or the relaxation of a MIP. If no IIS is found, then the
23852396 * number of IIS columns and rows will be zero.
23862397 *
2387- * @param highs A pointer to the Highs instance.
2388- * @param const HighsInt iis_num_col Number of columns in the IIS.
2389- * @param const HighsInt iis_num_row Number of rows in the IIS.
2390- * @param const HighsInt* col_index An array of length [iis_num_col], to be
2391- * filled with the indices of original
2392- * variables in the IIS.
2393- * @param const HighsInt* row_index An array of length [iis_num_col], to be
2394- * filled with the indices of original
2395- * constraints in the IIS.
2396- * @param const HighsInt* col_bound An array of length [iis_num_col], to be
2397- * filled with the bound status of variables
2398- * in the IIS.
2399- * @param const HighsInt* row_bound An array of length [iis_num_col], to be
2400- * filled with the bound status of constraints
2401- * in the IIS.
2402- * @param const HighsInt* col_status An array of length [num_col], to be
2403- * filled with the IIS status of all original
2404- * variables.
2405- * @param const HighsInt* row_status n array of length [num_col], to be
2406- * filled with the IIS status of all original
2407- * constraints.
2398+ * @param highs A pointer to the Highs instance.
2399+ * @param HighsInt iis_num_col Number of columns in the IIS.
2400+ * @param HighsInt iis_num_row Number of rows in the IIS.
2401+ * @param HighsInt* col_index An array of length [iis_num_col], to be
2402+ * filled with the indices of original
2403+ * variables in the IIS.
2404+ * @param HighsInt* row_index An array of length [iis_num_col], to be
2405+ * filled with the indices of original
2406+ * constraints in the IIS.
2407+ * @param HighsInt* col_bound An array of length [iis_num_col], to be
2408+ * filled with the bound status of variables
2409+ * in the IIS.
2410+ * @param HighsInt* row_bound An array of length [iis_num_col], to be
2411+ * filled with the bound status of constraints
2412+ * in the IIS.
2413+ * @param HighsInt* col_status An array of length [num_col], to be filled
2414+ * with the IIS status of all original variables.
2415+ * @param HighsInt* row_status An array of length [num_col], to be filled
2416+ * with the IIS status of all original constraints.
24082417 *
24092418 * @returns A `kHighsStatus` constant indicating whether the call succeeded.
24102419 */
24112420HighsInt Highs_getIis (void * highs , HighsInt * iis_num_col , HighsInt * iis_num_row ,
24122421 HighsInt * col_index , HighsInt * row_index ,
24132422 HighsInt * col_bound , HighsInt * row_bound ,
24142423 HighsInt * col_status , HighsInt * row_status );
2424+ /**
2425+ * Identify suggested values of the options user_cost_scale and
2426+ * user_bound_scale to address extremely large or small objective
2427+ * coefficients and bound values
2428+ *
2429+ * @param highs A pointer to the Highs instance.
2430+ * @param HighsInt* suggested_objective_scale The suggested value of user_cost_scale
2431+ * @param HighsInt* suggested_bound_scale The suggested value of user_bound_scale
2432+ *
2433+ * @returns A `kHighsStatus` constant indicating whether the call succeeded.
2434+ */
2435+ HighsInt Highs_getObjectiveBoundScaling (void * highs ,
2436+ HighsInt * suggested_objective_scale ,
2437+ HighsInt * suggested_bound_scale );
2438+
24152439/**
24162440 * Releases all resources held by the global scheduler instance.
24172441 *
0 commit comments