18 Interface changes

The section shows interface-specific changes to the MOSEK Optimizer API for .NET in version 9.0. See the release notes for general changes and new features of the MOSEK Optimization Suite.

18.1 Backwards compatibility

  • Parameters. Users who set parameters to tune the performance and numerical properties of the solver (termination criteria, tolerances, solving primal or dual, presolve etc.) are recommended to reevaluate such tuning. It may be that other, or default, parameter settings will be more beneficial in the current version. The hints in Sec. 8 (Debugging Tutorials) may be useful for some cases.

  • All functions using the enum accmode were removed. Use corresponding separate functions for manipulating variables and constraints. For example, instead of

    task.putbound(accmode.var, ...);
    task.putbound(accmode.con, ...);
    

    use

    task.putvarbound(...);
    task.putconbound(...);
    

    and so on.

  • Removed all Near problem and solution statuses i.e. solsta.near_optimal, solsta.near_prim_infeas_cer, etc. See Sec. 13.3.3 (Adjusting optimality criteria).

  • All functions related to the general nonlinear optimizer and Scopt have been removed. See Sec. 15.11 (Nonlinear interfaces (obsolete)).

18.3 Parameters

Added

Removed

  • dparam.data_tol_aij
  • dparam.intpnt_nl_merit_bal
  • dparam.intpnt_nl_tol_dfeas
  • dparam.intpnt_nl_tol_mu_red
  • dparam.intpnt_nl_tol_near_rel
  • dparam.intpnt_nl_tol_pfeas
  • dparam.intpnt_nl_tol_rel_gap
  • dparam.intpnt_nl_tol_rel_step
  • dparam.mio_disable_term_time
  • dparam.mio_near_tol_abs_gap
  • dparam.mio_near_tol_rel_gap
  • iparam.mio_construct_sol
  • iparam.mio_mt_user_cb
  • iparam.opf_max_terms_per_line
  • iparam.read_data_compressed
  • iparam.read_data_format
  • iparam.write_data_compressed
  • iparam.write_data_format

18.4 Constants

Added

Removed

  • constant.dataformat.xml
  • constant.dinfitem.mio_heuristic_time
  • constant.dinfitem.mio_optimizer_time
  • constant.iinfitem.mio_construct_num_roundings
  • constant.iinfitem.mio_initial_solution
  • constant.iinfitem.mio_near_absgap_satisfied
  • constant.iinfitem.mio_near_relgap_satisfied
  • constant.liinfitem.mio_sim_maxiter_setbacks
  • constant.mionodeseltype.hybrid
  • constant.mionodeseltype.worst
  • constant.problemtype.geco
  • constant.prosta.near_dual_feas
  • constant.prosta.near_prim_and_dual_feas
  • constant.prosta.near_prim_feas
  • constant.sensitivitytype.optimal_partition
  • constant.solsta.near_dual_feas
  • constant.solsta.near_dual_infeas_cer
  • constant.solsta.near_integer_optimal
  • constant.solsta.near_optimal
  • constant.solsta.near_prim_and_dual_feas
  • constant.solsta.near_prim_feas
  • constant.solsta.near_prim_infeas_cer

18.5 Response Codes

Added

Removed

  • rescode.err_cannot_clone_nl
  • rescode.err_cannot_handle_nl
  • rescode.err_invalid_accmode
  • rescode.err_invalid_file_format_for_general_nl
  • rescode.err_nonlinear_functions_not_allowed
  • rescode.err_nr_arguments
  • rescode.err_open_dl
  • rescode.err_user_func_ret
  • rescode.err_user_func_ret_data
  • rescode.err_user_nlo_eval
  • rescode.err_user_nlo_eval_hessubi
  • rescode.err_user_nlo_eval_hessubj
  • rescode.err_user_nlo_func
  • rescode.trm_mio_near_abs_gap
  • rescode.trm_mio_near_rel_gap
  • rescode.wrn_construct_invalid_sol_itg
  • rescode.wrn_construct_no_sol_itg
  • rescode.wrn_construct_solution_infeas
  • rescode.wrn_no_nonlinear_function_write