John McFarland
John McFarland
I noticed the comment in Emacs-Tips-08.org about `server-after-make-frame-hook` only being called once when using the daemon, but I have not found this to be the case. I tested with Emacs...
For example, using a structured sampler where qubit 0 is not available, the following silently drops the variable and produces an empty sampleset: ```python DWaveSampler().sample_ising([1], {}) ``` whereas using a...
**Description** If the time limit is passed as `numpy.int64`, the cloud client fails with an error message that is difficult to track: ``` ... File "/home/jmcfarland/venv/ocean/lib/python3.9/site-packages/dwave/cloud/solver.py", line 424, in _encode_problem_for_submission...
Upgraded from optparse to argparse and reorganized main to accept arguments so that the main function can be called programmatically from another Python module.
The term Lagrange multiplier is used throughout the code, documentation, and API's. Suggest reviewing whether this is the most appropriate terminology. My understanding is that when we encode constraints in...
**Description** The following: ```python import dwavebinarycsp csp = dwavebinarycsp.ConstraintSatisfactionProblem(dwavebinarycsp.BINARY) def sum_to_one(*args): return sum(args) == 1 nvar = 7 ngroup = 4 for igroup in range(ngroup): vars = [igroup*nvar + i...
Is the interface for `CallableModel` supposed to support parameter values? It doesn't appear that this is currently possible (it would need to be sub-classed for the user to define `parameter_names`...
Update `compute_gradient` to include frozen parameters. Otherwise, the finite difference gradient does not include frozen parameters, which creates a shape mismatch for the array expected by `get_gradient`. This occurs when...