Ignore:
Timestamp:
May 8, 2014 12:11:17 AM (5 years ago)
Author:
mlubin
Message:

Implement Cbc_setInitialSolution for providing a feasible solution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/test/CInterfaceTest.c

    r2021 r2032  
    4040    double colub[] = {1,1,1,1,1};
    4141    double obj[] = {5, 3, 2, 7, 4};
     42    double feasible[] = {1,1,0,0,0};
    4243    double rowlb[] = {-INFINITY};
    4344    double rowub[] = {10};
     
    6970
    7071    Cbc_registerCallBack(model, test_callback);
     72
     73    Cbc_setInitialSolution(model, feasible);
    7174
    7275    Cbc_solve(model);
Note: See TracChangeset for help on using the changeset viewer.