Skip to content

Mosek error with newest gpkit version #1442

@courtin

Description

@courtin

After upgrading to the latest version of gpkit I get the following error when using mosek as the solver, running the simple test case from the documentation:

">> python gptest.py
Traceback (most recent call last):
File "gptest.py", line 16, in
sol = m.solve(verbosity=0, solver = 'mosek')
File "/Users/chriscourtin/dev/gpkit/gpkit/constraints/prog_factories.py", line 124, in solvefn
result = progsolve(solver, verbosity, **kwargs)
File "/Users/chriscourtin/dev/gpkit/gpkit/constraints/gp.py", line 148, in solve
solverfn, solvername = _get_solver(solver, kwargs)
File "/Users/chriscourtin/dev/gpkit/gpkit/constraints/gp.py", line 39, in _get_solver
from .._mosek import expopt
File "/Users/chriscourtin/dev/gpkit/gpkit/_mosek/expopt.py", line 96, in
MSK = ModuleShortener("MSK", load_library(settings["mosek_lib_path"]),
KeyError: u'mosek_lib_path'
"

As far as I can tell the mosek installation is still working; python is able to load the solver outside of gpkit, and the license file is active.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions