[Clp] manual pivoting
John Forrest
john.forrest at fastercoin.com
Thu May 5 06:17:15 EDT 2011
In your configure add to CXXDEFS -DCLP_USER_DRIVEN1 and code up
functions such as userChoiceValid1. You will find definitions at top
of ClpSimplexPrimal.cpp
Then you can use that to return false if pivot element too small.
Option has not really been tested so ask for help if necessary.
John Forrest
On Tue, 2011-05-03 at 22:32 -0500, Kibaek Kim wrote:
> Hi everyone,
>
>
> I am using Clp to manually perform pivots. For a given vertex, I am
> checking every adjacent vertices based on the basis information.
>
>
> To do that, my solver
> calls OsiClpSolverInterface::primalPivotResult( ... ). But the solver
> sometimes gives an error. The error occurs in ClpSimplexPrimal.cpp
> line 2927, which indicates CoinAssert (fabs(alpha_) > 1.0e-8).
>
>
> I guess the error occurs when pivoting step size is too small. Is that
> right? If so, is there any way to properly handle this?
>
>
> Thanks in advance,
>
>
> Kibaek
> _______________________________________________
> Clp mailing list
> Clp at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/clp
More information about the Clp
mailing list