Repository for organization-wide discussions and other organization documents.
coin-or / coin-or.github.io Goto Github PK
View Code? Open in Web Editor NEWCOIN-OR General Documentation
COIN-OR General Documentation
I use a visual studio command prompt, instead of vcvarsall.bat to set up the environment .
Following the other instructions under the heading Building with Visual Studio in MSys2 on
https://coin-or.github.io/user_introduction.html#building-with-visual-studio-in-msys2
I get the following result (which shows the wrong version of link)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>set PATH=C:\msys64\usr\bin;%PATH%
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>bash
Community>which link
/usr/bin/link
Community>
If I do the following, I get the correct version of link:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>set PATH=%PATH%;C:\msys64\usr\bin
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>bash
Community>which link
/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/HostX86/x86/link
Community>
I cannot run example from this page: https://coin-or.github.io/CyLP/modules/CyCoinPackedMatrix.html.
OS: Win10
Python 3.9
cylp 0.92.1
More info below:
PS C:\...\>
Platform ServicePack Version VersionString
-------- ----------- ------- -------------
Win32NT 10.0.19044.0 Microsoft Windows NT 10.0.19044.0
PS C:\...\> python --version
Python 3.9.0
PS C:\...\> python
Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import cylp
>>> cylp.__version__
'0.92.1'
>>> import cylp.cy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\app\python39\lib\site-packages\cylp\cy\__init__.py", line 2, in <module>
from .CyClpSimplex import CyClpSimplex
File "cylp\\cy\\CyClpSimplex.pyx", line 1, in init cylp.cy.CyClpSimplex
File "cylp\\cy\\CyClpPrimalColumnPivotBase.pyx", line 1, in init cylp.cy.CyClpPrimalColumnPivotBase
File "cylp\\cy\\CyClpDualRowPivotBase.pyx", line 1, in init cylp.cy.CyClpDualRowPivotBase
File "cylp\\cy\\CyOsiSolverInterface.pyx", line 1, in init cylp.cy.CyOsiSolverInterface
File "cylp\\cy\\CyCbcModel.pyx", line 1, in init cylp.cy.CyCbcModel
File "cylp\\cy\\CyOsiCuts.pyx", line 3, in init cylp.cy.CyOsiCuts
File "c:\app\python39\lib\site-packages\cylp\py\__init__.py", line 1, in <module>
from . import pivots
File "c:\app\python39\lib\site-packages\cylp\py\pivots\__init__.py", line 3, in <module>
from .PositiveEdgePivot import PositiveEdgePivot
File "c:\app\python39\lib\site-packages\cylp\py\pivots\PositiveEdgePivot.py", line 10, in <module>
from cylp.cy.CyClpSimplex import cydot
ImportError: cannot import name 'cydot' from partially initialized module 'cylp.cy.CyClpSimplex' (most likely due to a circular import) (c:\app\python39\lib\site-packages\cylp\cy\CyClpSimplex.cp39-win_amd64.pyd)
>>>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.