Skip to content

Commit

Permalink
Minor changes for parameter changes in cplexFAC.c
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentheirendt committed Apr 12, 2016
1 parent c4a4995 commit bb1d300
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions cplexFVAc.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,25 @@ int _fva(CPXENVptr env, CPXLPptr lp, double* minFlux, double* maxFlux, double* o
status = CPXsetintparam (env, CPX_PARAM_AUXROOTTHREADS, 2);
mexPrintf("Successfully set CPX_PARAM_AUXROOTTHREADS and the status is %d \n", status);

/*
PARAMETERS SUGGESTED TO BE TWEAKED BY ED KLOTZ FROM IBM
*/
status = CPXsetintparam (env, CPX_PARAM_REDUCE, 2);
mexPrintf("Successfully set CPX_PARAM_REDUCE = 2 and the status is %d \n", status);
/*
status = CPXsetintparam (env, CPX_PARAM_MEMORYEMPHASIS, 1);
mexPrintf("Successfully set CPX_PARAM_MEMORYEMPHASIS = 1 and the status is %d \n", status);
*/
status = CPXsetintparam (env, CPX_PARAM_ADVIND, 2);
mexPrintf("Successfully set CPX_PARAM_ADVIND = 2 and the status is %d \n", status);

/*
status = CPXsetintparam (env, CPX_PARAM_REDUCE, 0);
mexPrintf("Successfully set CPX_PARAM_REDUCE = 0 and the status is %d \n", status);
PARAMETERS SUGGESTED TO BE TWEAKED BY ED KLOTZ FROM IBM
status = CPXsetintparam (env, CPX_PARAM_REDUCE, 1);
mexPrintf("Successfully set CPX_PARAM_AUXROOTTHREADS and the status is %d \n", status);
*/
/*
status = CPXsetintparam (env, CPXPARAM_MIP_Strategy_PresolveNode, 1);
mexPrintf("Successfully set CPXPARAM_MIP_Strategy_PresolveNode and the status is %d \n ", status);
Expand Down

0 comments on commit bb1d300

Please sign in to comment.