Changeset 2459
 Timestamp:
 Dec 30, 2018 3:12:14 PM (2 years ago)
 Location:
 trunk/Cbc/src
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

trunk/Cbc/src/Cbc_C_Interface.cpp
r2458 r2459 807 807 } 808 808 809 COINLIBAPI int COINLINKAGE 810 Cbc_numberSavedSolutions(Cbc_Model * model) 811 { 812 return model>model_>numberSavedSolutions(); 813 } 814 815 COINLIBAPI const double * COINLINKAGE 816 Cbc_savedSolution(Cbc_Model * model, int whichSol) 817 { 818 return model>model_>savedSolution(whichSol); 819 } 809 820 810 821 COINLIBAPI const double * COINLINKAGE 
trunk/Cbc/src/Cbc_C_Interface.h
r2458 r2459 571 571 Cbc_getColSolution(Cbc_Model * model) 572 572 ; 573 574 /** @brief Best known bound on the optimal objective value 575 * 576 * @param model problem object 577 * @return best possible cost (lower bound) 578 **/ 579 COINLIBAPI double COINLINKAGE 580 Cbc_getBestPossibleObjValue(Cbc_Model * model) 581 ; 582 583 /** @brief Best integer feasible solution 584 * 585 * Best integer feasible solution or NULL if no integer feas sol found 586 * 587 * @param model problem object 588 * @return vector with the best solution found or NULL if no feasible solution was found 589 **/ 590 COINLIBAPI double* COINLINKAGE 591 Cbc_bestSolution(Cbc_Model * model) 592 ; 593 594 /** @brief number of integer feasible solution saved 595 * 596 * @param model problem object 597 * @return number of saved solutions 598 **/ 599 COINLIBAPI int COINLINKAGE 600 Cbc_numberSavedSolutions(Cbc_Model * model) 601 ; 602 603 604 /** @brief Vector with the ith saved solution 605 * 606 * @param model problem object 607 * @param whichSol index of the solution to be retrieved 608 * @return vector with integer feasible solution 609 **/ 610 COINLIBAPI const double * COINLINKAGE 611 Cbc_savedSolution(Cbc_Model * model, int whichSol) 612 ; 573 613 574 614 /** @brief Queries vector of reduced costs … … 650 690 COINLIBAPI double COINLINKAGE 651 691 Cbc_getObjValue(Cbc_Model * model) 652 ;653 /** Best known bound on the optimal objective value */654 COINLIBAPI double COINLINKAGE655 Cbc_getBestPossibleObjValue(Cbc_Model * model)656 ;657 /** Best integer feasible solution or NULL if no integer feas sol found */658 COINLIBAPI double* COINLINKAGE659 Cbc_bestSolution(Cbc_Model * model)660 692 ; 661 693 /** Number of nodes explored in B&B tree */
Note: See TracChangeset
for help on using the changeset viewer.