As the implementation of the whole interface, there exists a matching
C interface parameter to each of the C++ Interface/OSI parameter and
the parameter setting functions are designed to set the
corresponding C interface parameter. Thus, we will just give a table of the
parameter names, their C interface complements and the values they can be set
to, rather than their detailed descriptions. For each parameter, the user
can see the C interface complement for further explanation.
16cm7cm
C++ Interface | C Interface | Value |
OsiSymVerbosity | verbosity | -user defined- |
OsiSymWarmStart | warm_start | -boolean- |
OsiSymNodeLimit | ||
OsiMaxNumIteration | node_limit | -user defined- |
OsiMaxNumIterationHotStart | ||
OsiSymFindFirstFeasible | find_first_feasible | -boolean- |
OsiSymSearchStrategy | node_selection_rule | LOWEST_LP_FIRST |
HIGHEST_LP_FIRST | ||
BREADTH_FIRST_SEARCH | ||
DEPTH_FIRST_SEARCH | ||
OsiSymUsePermanentCutPools | use_permanent_cut_pools | -boolean- |
OsiSymGenerateCglGomoryCuts | generate_cgl_gomory_cuts | -boolean- |
OsiSymGenerateCglKnapsackCuts | generate_cgl_knapsack_cuts | -boolean- |
OsiSymGenerateCglOddHoleCuts | generate_cgl_oddhole_cuts | -boolean- |
OsiSymGenerateCglProbingCuts | generate_cgl_probing_cuts | -boolean- |
OsiSymGenerateCglCliqueCuts | generate_cgl_clique_cuts | -boolean- |
OsiSymGenerateCglFlowAndCoverCuts | generate_cgl_flow_and_cover_cuts | -boolean- |
OsiSymGenerateCglRoundingCuts | generate_cgl_rounding_cuts | -boolean- |
OsiSymGenerateCglLiftAndProjectCuts | generate_cgl_lift_and_project_cuts | -boolean- |
OsiSymKeepWarmStart | keep_warm_start | -boolean- |
OsiSymTrimWarmTree | trim_warm_tree * -boolean- | |
OsiSymDoReducedCostFixing | do_reduced_cost_fixing | -boolean- |
OsiSymMCFindSupportedSolutions | mc_find_supported_solutions | -boolean- |
OsiSymSensitivityAnalysis | sensitivity_analysis | -boolean- |
OsiSymRandomSeed | random_seed | -user defined- |
OsiSymDivingStrategy | diving_strategy | BEST_ESTIMATE |
COMP_BEST_K | ||
COMP_BEST_K_GAP | ||
OsiSymDivingK | diving_k | -user defined- |
OsiSymDivingThreshold | diving_threshold | -user defined- |
OsiSymGranularity | granularity | -user defined- |
OsiSymTimeLimit | time_limit | -user defined- |
OsiSymGapLimit | gap_limit | -user defined- |
OsiObjOffset | - | -user defined- |
OsiProbName | problem_name | -user defined- |
However, as it is seen, only some of the C interface parameters have their matches. If the other parameters are required to be modified, the user can always set them directly by their C interface names, using the overlapping functions: setSymParam(string, int), setSymParam(string, double) and setSymParam(string,string). For instance, the verbosity parameter can be set, let's say, to 2 either by setSymParam(OsiSymVerbosity, 2) or by setSymParam(``verbosity'', 2). Note that, this flexibility is also supported for parameter querying functions.
Ted Ralphs