Comments (5)
There is an attempt to make OPTALG Python 3 compatible in the python-3 branch of this project.
Maybe this helps.
from optalg.
Yes, we can do that. I will work on this and make the master branch python
3 compatible. I will notify here as soon as this is done.
On Jun 24, 2016 11:15 AM, "Martin Zellner" [email protected] wrote:
There is an attempt to make OPTALG Python 3 compatible in the python-3
branch https://github.com/ttinoco/OPTALG/tree/python-3 of this project.
Maybe this helps.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#3 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AGFYf6BZOI3Ar6jFhi9rz7xaT2fCAl8Pks5qO6A2gaJpZM4I9lzi
.
from optalg.
Nice thanks! The Python-3 branch doesn't work or I've made something else wrong:
byte-compiling C:\Anaconda3\Lib\site-packages\optalg\opt_solver\augl.py to augl.cpython-35.pyc
File "C:\Anaconda3\Lib\site-packages\optalg\opt_solver\augl.py", line 135
print '\nSolver: augL'
^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling C:\Anaconda3\Lib\site-packages\optalg\opt_solver\iqp.py to iqp.cpython-35.pyc
File "C:\Anaconda3\Lib\site-packages\optalg\opt_solver\iqp.py", line 183
print '\nSolver: IQP'
^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling C:\Anaconda3\Lib\site-packages\optalg\opt_solver\lccp.py to lccp.cpython-35.pyc
File "C:\Anaconda3\Lib\site-packages\optalg\opt_solver\lccp.py", line 171
print '\nSolver: LCCP'
^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling C:\Anaconda3\Lib\site-packages\optalg\opt_solver\nr.py to nr.cpython-35.pyc
File "C:\Anaconda3\Lib\site-packages\optalg\opt_solver\nr.py", line 95
print '\nSolver: NR'
^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling C:\Anaconda3\Lib\site-packages\optalg\stoch_solver\stoch_grad.py to stoch_grad.cpython-35.pyc
File "C:\Anaconda3\Lib\site-packages\optalg\stoch_solver\stoch_grad.py", line 22
print '\nStochastic Gradient'
^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling C:\Anaconda3\Lib\site-packages\optalg\stoch_solver\stoch_grad_pd.py to stoch_grad_pd.cpython-35.pyc
File "C:\Anaconda3\Lib\site-packages\optalg\stoch_solver\stoch_grad_pd.py", line 22
print '\nPrimal-Dual Stochastic Gradient'
^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling C:\Anaconda3\Lib\site-packages\optalg\stoch_solver\stoch_hyb.py to stoch_hyb.cpython-35.pyc
File "C:\Anaconda3\Lib\site-packages\optalg\stoch_solver\stoch_hyb.py", line 23
print '\nStochastic Hybrid'
^
SyntaxError: Missing parentheses in call to 'print'
byte-compiling C:\Anaconda3\Lib\site-packages\optalg\stoch_solver\stoch_hyb_pd.py to stoch_hyb_pd.cpython-35.pyc
File "C:\Anaconda3\Lib\site-packages\optalg\stoch_solver\stoch_hyb_pd.py", line 24
print '\nPrimal-Dual Stochastic Hybrid'
^
SyntaxError: Missing parentheses in call to 'print'
running install_egg_info
Removing C:\Anaconda3\Lib\site-packages\OPTALG-1.0-py3.5.egg-info
Writing C:\Anaconda3\Lib\site-packages\OPTALG-1.0-py3.5.egg-info
from optalg.
This looks like a caching issue to me. If you look at line 137 in augl.py the print is correct.
from optalg.
I had to delete manually the folder in my anaconda and then it worked. Thanks for the hint!
from optalg.
Related Issues (20)
- opt solver throw error or warning when bad parameter in set_parameters
- switch to setuptools and setup pip HOT 1
- add regularization to obj Hessian in augl when using gauss-newton
- change solver "parameters" to __parameters HOT 1
- make inlp algorithm globally convergent
- show solver status at the end of output HOT 1
- get CBC wrapper working again HOT 1
- in buid_lib scripts, check whether zip exists before download
- inlp not showing info about last iterate before exit HOT 1
- catch all lin solver-specific error exceptions and forward them as single exception type
- update travis to use os matrix HOT 1
- Expose `expect_infeasible_problem` ipopt setting HOT 2
- catch ipopt solver error messages and include them in OptSolverError_Ipopt
- enhance build scripts to have timeout for mumps and default to no ipopt when this happens
- clp is holding memory of primal variables, causing corruption issues when it gets garbage collected
- add command-line-based wrappers for CBC and CLP that work on both linux and windows HOT 1
- set up appveyor
- add .mps writer
- add .lp writer HOT 1
- command-line-based cplex interface HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optalg.