OR
OR
I got the same results as you. I also tried xdot. xdot 0.6 just can't be installed on python 3.8. If I use xdot 1.2, it will result the following...
I found @tkralphs has implemented a CuPPy package using the Cutting Plane algorithm to solve MIP. But the code just uses the primal simplex algorithm. It did not use the...
Thanks a lot. I'll first read your code and then implement my solver. I'm a little confused about the warm start. I'm taking an integer course now. It seems when...
Ok, I'm writing the code now. I want it to be a general framework support B&B, cutting plane, and other methods like column generation and decomposition methods. Like you, I...
I have finished my first edition. I open-source it here https://github.com/abdxyz/mathu-solver. It is a general framework, every important function is in a python class or model. Every model is independent...
Ok, I had included an EPL license. I'm a novice to open source code. I think this license will give you freedom to do your own job. I write it...
I have tried GrUMPy. The cutting plane part works well. But I can't get the B&B tree as your image. I wrote my test result in an issue. I think...
Hello. I'm now improving my code to warm start simplex using the dual simplex algorithm. I want to use the basises information of a parent node to accelerate the child...
I add the following code in the CyClpSimplex.pyx ``` from libc.stdlib cimport malloc, free, memcpy def set_dualvariable(self,np.ndarray[np.double_t,ndim=1] value): print(123) memcpy( self.CppSelf.getDualRowSolution(), value.data,self.nConstraints*8) ``` But it doesn't work. It output ```...
I adopted the following steps. It works fine. ``` from libc.string cimport memcpy property dualConstraintSolution: ''' Dual variables' solution :rtype: Numpy array ''' def __get__(self): ret = self.CppSelf.getDualRowSolution() if self.cyLPModel:...