Coder Social home page Coder Social logo

Comments (4)

cdanielmachado avatar cdanielmachado commented on June 12, 2024

Hi @lavik17

You are using the demo version, which is not exactly the same as academic license.

You need to sign up for an academic license at IBM and download the fully functional version of cplex. This is free for academics, there is no cost.

from carveme.

Sububioinfo avatar Sububioinfo commented on June 12, 2024

Hi am using academic version cplex_studio1210.linux-x86-64.bin
Still am getting an error

from carveme.

Sububioinfo avatar Sububioinfo commented on June 12, 2024

This is my error
Traceback (most recent call last):
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/bin/carve", line 364, in
ref_score=args.reference_score
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/bin/carve", line 198, in main
debug_output=debug_output)
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/lib/python3.6/site-packages/carveme/reconstruction/carving.py", line 236, in carve_model
ref_reactions=ref_reactions, ref_score=ref_score, debug_output=debug_output)
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/lib/python3.6/site-packages/carveme/reconstruction/carving.py", line 123, in minmax_reduction
solver.update()
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/lib/python3.6/site-packages/framed/solvers/cplex_interface.py", line 206, in update
self.add_variables(var_ids, lbs, ubs, vartypes)
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/lib/python3.6/site-packages/framed/solvers/cplex_interface.py", line 105, in add_variables
self.problem.variables.add(names=var_ids, lb=lbs, ub=ubs, types=vartypes)
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/lib/python3.6/site-packages/cplex/_internal/_subinterfaces.py", line 456, in add
obj, lb, ub, types, names, columns)
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/lib/python3.6/site-packages/cplex/_internal/_baseinterface.py", line 41, in _add_iter
addfun(*args, **kwargs)
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/lib/python3.6/site-packages/cplex/_internal/_subinterfaces.py", line 378, in _add
types, names)
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/lib/python3.6/site-packages/cplex/_internal/_procedural.py", line 967, in newcols
xctype, colname)
File "/storage/dhome/jsankarasubramani/miniconda3/envs/carveme/lib/python3.6/site-packages/cplex/_internal/_pycplex.py", line 1785, in CPXXnewcols
return _pycplex_platform.CPXXnewcols(env, lp, ccnt, py_obj, py_lb, py_ub, xctype, colname)
TypeError: not a list

from carveme.

cdanielmachado avatar cdanielmachado commented on June 12, 2024

Please check #81

from carveme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.