d04a79bb822fe39a32ebf103b30736ea72a4c29d,test/aqua/test_portfolio_diversification.py,TestPortfolioDiversification,test_portfolio_diversification,#TestPortfolioDiversification#,228
Before Change
// This test should not focus on the availability of CPLEX, so we just eat the exception.
self.skipTest("CPLEX may be missing.")
// Solve the problem using the exact eigensolver
params = {
"problem": {"name": "ising"},
"algorithm": {"name": "ExactEigensolver"}
}
result = run_algorithm(params, self.algo_input)
quantum_solution = get_portfoliodiversification_solution(self.instance,
self.n,
self.q, result)
ground_level = get_portfoliodiversification_value(self.instance,
After Change
// This test should not focus on the availability of CPLEX, so we just eat the exception.
self.skipTest("CPLEX may be missing.")
// Solve the problem using the exact eigensolver
result = ExactEigensolver(self.qubit_op).run()
quantum_solution = get_portfoliodiversification_solution(self.instance,
self.n,
self.q, result)
ground_level = get_portfoliodiversification_value(self.instance,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances Project Name: Qiskit/qiskit-aqua
Commit Name: d04a79bb822fe39a32ebf103b30736ea72a4c29d
Time: 2019-11-07
Author: manoel@us.ibm.com
File Name: test/aqua/test_portfolio_diversification.py
Class Name: TestPortfolioDiversification
Method Name: test_portfolio_diversification
Project Name: Qiskit/qiskit-aqua
Commit Name: d04a79bb822fe39a32ebf103b30736ea72a4c29d
Time: 2019-11-07
Author: manoel@us.ibm.com
File Name: test/aqua/test_portfolio_diversification.py
Class Name: TestPortfolioDiversification
Method Name: test_simple2
Project Name: Qiskit/qiskit-aqua
Commit Name: d04a79bb822fe39a32ebf103b30736ea72a4c29d
Time: 2019-11-07
Author: manoel@us.ibm.com
File Name: test/aqua/test_portfolio_diversification.py
Class Name: TestPortfolioDiversification
Method Name: test_portfolio_diversification
Project Name: Qiskit/qiskit-aqua
Commit Name: d04a79bb822fe39a32ebf103b30736ea72a4c29d
Time: 2019-11-07
Author: manoel@us.ibm.com
File Name: test/aqua/test_vehicle_routing.py
Class Name: TestVehicleRouting
Method Name: test_simple2